Mono Class Library: Mono.Unix.UnixFileSystemInfo Overview | MembersMono.Unix.UnixFileSystemInfo.FileAccessPermissions Property |
Gets or sets the file system entry access permissions. [Edit]
|
A Mono.Unix.FileAccessPermissions value which controls access to the file system entry. [Edit]
Type Reason InvalidOperationException UnixFileSystemInfo.FullName doesn't exist. [Edit]
Access to file system objects (as represented by Mono.Unix.UnixFileSystemInfo) is controlled by the file system access permissions, UnixFileSystemInfo.FileAccessPermissions. Mono.Unix.FileAccessPermissions is a nine-bit field specifying read, write, and execute access for the owner, group, and everyone else (other).
Access by the file's owner is controlled by the bits specified by (UnixFileSystemInfo.FileAccessPermissions & FileAccessPermissions.UserReadWriteExecute). The owner permissions supersede group permissions and other permissions, even if the owner belongs to the group.
Access by the file's owner group is controlled by the bits specified by (UnixFileSystemInfo.FileAccessPermissions & FileAccessPermissions.GroupReadWriteExecute). All group members get these access permissions. See also UnixFileSystemInfo.OwnerGroup.UnixGroupInfo.GetMembers.
All other users (users who are not the file's owner nor belonging to the file's owner group) get the file access permissions specified by (UnixFileSystemInfo.FileAccessPermissions & FileAccessPermissions.OtherReadWriteExecute).
[Edit]
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0