mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Improved denials to group
This commit is contained in:
parent
4b9ee4308b
commit
6b8648409c
@ -2486,7 +2486,7 @@ static int buildacls(char *secattr, int offs, mode_t mode, int isdir,
|
||||
if (mode & S_IROTH)
|
||||
denials |= FILE_READ;
|
||||
}
|
||||
denials &= ~grants;
|
||||
denials &= ~(grants | OWNER_RIGHTS);
|
||||
if (denials) {
|
||||
pdace->type = ACCESS_DENIED_ACE_TYPE;
|
||||
pdace->size = cpu_to_le16(gsidsz + 8);
|
||||
|
Loading…
Reference in New Issue
Block a user