You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thing is a mess. I think it should only be a setter and it should only allow a string to specify the mode, ex.:
io.chmod("file", "644") -- owner: read+write; group & others: read.io.chmod("file", "rw-r--r--") -- same meaning as aboveio.chmod("prog", "755") -- owner: read+write+execute; group & others: read+execute.io.chmod("prog", "rwxr-xr-x") -- same meaning as above
DO NOT let yourself be tempted to treat "644" and "755" as numbers; they are OCTAL!!!
Will probably just be a no-op on Windows.
The text was updated successfully, but these errors were encountered:
This thing is a mess. I think it should only be a setter and it should only allow a string to specify the mode, ex.:
DO NOT let yourself be tempted to treat "644" and "755" as numbers; they are OCTAL!!!
Will probably just be a no-op on Windows.
The text was updated successfully, but these errors were encountered: