Mono Class Library: Mono.Unix.Native Namespace

Mono.Unix.Native.FilePermissions Enumeration

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

A FilePermissions is the Unix mode_t type. [Edit]

Members

Member NameDescription
ACCESSPERMSAllow all user, group, and others read, write, and execute access (0777). [Edit]
ALLPERMSAll permissions enabled, including set user ID and set group ID on execution bits (07777). [Edit]
DEFFILEMODEDefault file mode: permit read and write access to owner, group, others (0666). [Edit]
S_IFBLKBlock device. [Edit]
S_IFCHRCharacter device. [Edit]
S_IFDIRDirectory. [Edit]
S_IFIFOFirst In First Out (FIFO). [Edit]
S_IFLNKSymbolic link. [Edit]
S_IFMTBitmask for the file type bitfields. [Edit]
S_IFREGRegular file. [Edit]
S_IFSOCKSocket. [Edit]
S_IRGRPIs readable for group. [Edit]
S_IROTHIs readable for others (everyone). [Edit]
S_IRUSRIs readable by user (owner). [Edit]
S_IRWXGGroup has read, write, and execute permissions. [Edit]
S_IRWXOOthers have read, write, and execute permissions. [Edit]
S_IRWXUOwner has read, write, and execute permissions. [Edit]
S_ISGIDSet-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_ISUIDSet-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_ISVTXIs sticky bit set. [Edit]
S_IWGRPIs writable for group. [Edit]
S_IWOTHIs writable for others (everyone). [Edit]
S_IWUSRIs writable by user (owner). [Edit]
S_IXGRPIs executable for group. [Edit]
S_IXOTHIs executable for others (everyone). [Edit]
S_IXUSRIs 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