FILE::CHMOD 1g 2023-12-12 laplante@plcb.ca GOWEB/FILE
title: “FILE::CHMOD”
section: “1g”
date: “2023-12-12”
author: “laplante@plcb.ca”
category: “GOWEB/FILE”
Name
file::chmod — Change the permissions of a file.
Synopsis
- file::chmod(mode, file, [error: variable, file…])
- chmod(mode, file, [error: variable, file…])
Description
The chmod
function changes the permissions of a file.
The mode is typically expressed in octal format, for example:
chmod(0700, filename);
Parameters
- error : captures an error if the file does not exist.
Examples
res={{
chmod(0755, file);
}}.
return
res=.
Author
See also
Version
- 1.0.0 2023-12-12 laplante@plcb.ca initial version