PosixFileMode
Owns the twelve POSIX permission/special bits as semantic values. Owner/Group/Other describe mode groups; they are not a Windows ACL or a check of the current caller's access. Editing this value changes no native object. It allocates nothing, owns no external state and requires synchronization for shared mutation. Special bits retain their reported platform meaning.
Module std.fs
import std.fs;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
PosixFileMode
pub struct PosixFileModeOwns the twelve POSIX permission/special bits as semantic values. Owner/Group/Other describe mode groups; they are not a Windows ACL or a check of the current caller's access. Editing this value changes no native object. It allocates nothing, owns no external state and requires synchronization for shared mutation. Special bits retain their reported platform meaning.
PosixFileMode.Owner
pub Owner: PosixAccess;Mode permissions for the owning user.
PosixFileMode.Group
pub Group: PosixAccess;Mode permissions for the owning group.
PosixFileMode.Other
pub Other: PosixAccess;Mode permissions for other users.
PosixFileMode.SetUserId
pub SetUserId: bool;Reported set-user-ID special bit.
PosixFileMode.SetGroupId
pub SetGroupId: bool;Reported set-group-ID special bit.
PosixFileMode.Sticky
pub Sticky: bool;Reported sticky special bit, often restricting directory removal.