Mask is not required and will be generated by the system if it is required and missing
This commit is contained in:
@ -245,11 +245,6 @@ impl PosixACL {
|
||||
return Err(anyhow!("Other entry is required"));
|
||||
}
|
||||
|
||||
let has_mask = self.entries.iter().any(|x| matches!(x.0, Qualifier::Mask));
|
||||
if !has_mask {
|
||||
return Err(anyhow!("Mask entry is required"));
|
||||
}
|
||||
|
||||
for acl_entry in &self.entries {
|
||||
let mut entry = null_mut();
|
||||
check_return(
|
||||
|
Reference in New Issue
Block a user