Mono.Posix.FileMode Enumeration
The FileMode enumeration describes file system modes (read,write,execute) as described in the POSIX standard

Syntax

[System.CLSCompliant(false)]
[System.Flags]
[System.Obsolete("Use Mono.Unix.Native.FilePermissions")]
public enum FileMode

See Also

Mono.Unix.Native.FilePermissions

Remarks

This type is obsolete. Please use Mono.Unix.Native.FilePermissions instead.

Members

Member NameDescription
S_IRGRPIs readable for group
S_IROTHIs readable for others (everyone)
S_IRUSRIs readable by user (owner)
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.
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.
S_ISVTXIs sticky bit set
S_IWGRPIs writable for group
S_IWOTHIs writable for others (everyone)
S_IWUSRIs writable by user (owner)
S_IXGRPIs executable for group
S_IXOTHIs executable for others (everyone)
S_IXUSRIs executable for user (owner)

Requirements

Namespace: Mono.Posix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0