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.
pub Owner: PosixAccess;
pub Owner: PosixAccess;Mode permissions for the owning user.
pub Group: PosixAccess;
pub Group: PosixAccess;Mode permissions for the owning group.
pub Other: PosixAccess;
pub Other: PosixAccess;Mode permissions for other users.
pub SetUserId: bool;
pub SetUserId: bool;Reported set-user-ID special bit.
pub SetGroupId: bool;
pub SetGroupId: bool;Reported set-group-ID special bit.
pub Sticky: bool;
pub Sticky: bool;Reported sticky special bit, often restricting directory removal.