-
-
Notifications
You must be signed in to change notification settings - Fork 619
os.chmod
starkos edited this page Apr 10, 2021
·
7 revisions
This wiki is no longer being maintained.
Changes the file system permissions of a file.
ok, err = os.chmod(path, mask)
path
is the path to the file on which the permissions should be changed.
mask
is a string specifying the new permission mask. Currently, only octal number notations is supported, e.g. "755".
If successful, returns true. On error, returns nil and an error message.
Premake 5.0 or later.