The FilePermissions enumeration describes file system modes (read,write,execute) as described in the POSIX standard.
[
Edit]
[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).
[Edit]
|
| ALLPERMS | All permissions enabled, including set user ID and set group ID on execution bits (07777).
[Edit]
|
| DEFFILEMODE | Default file mode: permit read and write access to owner, group, others (0666).
[Edit]
|
| S_IFBLK | Block device.
[Edit]
|
| S_IFCHR | Character device.
[Edit]
|
| S_IFDIR | Directory.
[Edit]
|
| S_IFIFO | First In First Out (FIFO).
[Edit]
|
| S_IFLNK | Symbolic link.
[Edit]
|
| S_IFMT | Bitmask for the file type bitfields.
[Edit]
|
| S_IFREG | Regular file.
[Edit]
|
| S_IFSOCK | Socket.
[Edit]
|
| S_IRGRP | Is readable for group.
[Edit]
|
| S_IROTH | Is readable for others (everyone).
[Edit]
|
| S_IRUSR | Is readable by user (owner).
[Edit]
|
| S_IRWXG | Group has read, write, and execute permissions.
[Edit]
|
| S_IRWXO | Others have read, write, and execute permissions.
[Edit]
|
| S_IRWXU | Owner has read, write, and execute permissions.
[Edit]
|
| 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.
[Edit]
|
| 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.
[Edit]
|
| S_ISVTX | Is sticky bit set.
[Edit]
|
| S_IWGRP | Is writable for group.
[Edit]
|
| S_IWOTH | Is writable for others (everyone).
[Edit]
|
| S_IWUSR | Is writable by user (owner).
[Edit]
|
| S_IXGRP | Is executable for group.
[Edit]
|
| S_IXOTH | Is executable for others (everyone).
[Edit]
|
| S_IXUSR | Is executable for user (owner).
[Edit]
|
Requirements
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0