FileMode -package:dhall
Mode to use with 'Development.
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.
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.
Refers to file permissions, NOT the st_mode field from stat(2)
The default permissions for the files, permissions not set on Windows,
and are set to rw on Unix. This mimics the behavior of the zip
utility.
Convert external attributes to the file info. The function assumes a
regular file and keeps DOS attributes untouched.
>>> fromFileMode 0o0755
2179792896
Convert external attributes to the file info.
>>> toFileMode 2179792896
0o0755
Returns the mode that sendfile was compiled with. Mainly for debugging
use. Possible values are WIN32_SENDFILE,
LINUX_SENDFILE, FREEBSD_SENDFILE,
DARWIN_SENDFILE, and PORTABLE_SENDFILE.