FileMode package:unix

File mode (such as permissions).
The file type and mode. See inode(7) for details.
Combines two file modes into one that only contains modes that appear in both.
No permissions.
setFileMode path mode changes permission of the file given by path to mode. This operation may fail with throwErrnoPathIfMinus1_ if path doesn't exist or if the effective user ID of the current process is not that of the file's owner. Note: calls chmod.
Owner, group and others have read and write permission.
Combines the two file modes into one that contains modes that appear in either.
setFileMode path mode changes permission of the file given by path to mode. This operation may fail with throwErrnoPathIfMinus1_ if path doesn't exist or if the effective user ID of the current process is not that of the file's owner. Note: calls chmod.
setFileMode path mode changes permission of the file given by path to mode. This operation may fail with throwErrnoPathIfMinus1_ if path doesn't exist or if the effective user ID of the current process is not that of the file's owner. Note: calls chmod.