Enum libzetta::zfs::properties::AclMode
source · #[repr(u64)]pub enum AclMode {
Discard,
GroupMask,
Passthrough,
Restricted,
}
Expand description
This property modifies ACL behavior when a file initially created or whenever a file or directory’s permissions modified by the chmod command.
NODE: Not available on ZOL
Variants§
Discard
All ACL entries removed except for the entries needed to define the mode of the file or directory.
GroupMask
User or group ACL permissions reduced so that they are no greater than the group permissions, unless it is a user entry that has the same UID as the owner of the file or directory. Then, the ACL permissions reduced so that they are no greater than the owner permissions.
Passthrough
During a chmod
operation, ACEs other than owner@
, group@
, or everyone@
are not
modified in any way. ACEs with owner@
, group@
, or everyone@
are disabled to set the
file mode as requested by the chmod
operation.
Restricted
Trait Implementations§
source§impl PartialEq<AclMode> for AclMode
impl PartialEq<AclMode> for AclMode
impl Copy for AclMode
impl Eq for AclMode
impl StructuralEq for AclMode
impl StructuralPartialEq for AclMode
Auto Trait Implementations§
impl RefUnwindSafe for AclMode
impl Send for AclMode
impl Sync for AclMode
impl Unpin for AclMode
impl UnwindSafe for AclMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more