The FilePermissions enumeration describes file system modes (read,write,execute) as described in the POSIX standard.
Syntax
[System.CLSCompliant(false)]
[System.Flags]
public enum FilePermissions
Remarks
Members
Member Name | Description |
---|
ACCESSPERMS | Allow all user, group, and others read, write, and execute access (0777). |
ALLPERMS | All permissions enabled, including set user ID and set group ID on execution bits (07777). |
DEFFILEMODE | Default file mode: permit read and write access to owner, group, others (0666). |
S_IFBLK | Block device. |
S_IFCHR | Character device. |
S_IFDIR | Directory. |
S_IFIFO | First In First Out (FIFO). |
S_IFLNK | Symbolic link. |
S_IFMT | Bitmask for the file type bitfields. |
S_IFREG | Regular file. |
S_IFSOCK | Socket. |
S_IRGRP | Is readable for group. |
S_IROTH | Is readable for others (everyone). |
S_IRUSR | Is readable by user (owner). |
S_IRWXG | Group has read, write, and execute permissions. |
S_IRWXO | Others have read, write, and execute permissions. |
S_IRWXU | Owner has read, write, and execute permissions. |
S_ISGID | Set-group-id mode, indicating that the effective group ID of any user executing the file should be made the same as the group of the file. |
S_ISUID | Set-user-id mode, indicating that the effective user ID of any user executing the file should be made the same as that of the owner of the file. |
S_ISVTX | Is sticky bit set. |
S_IWGRP | Is writable for group. |
S_IWOTH | Is writable for others (everyone). |
S_IWUSR | Is writable by user (owner). |
S_IXGRP | Is executable for group. |
S_IXOTH | Is executable for others (everyone). |
S_IXUSR | Is executable for user (owner). |
Requirements
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0