1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r4412: SEC_FILE_READ_ATTRIBUTE is always granted, even if not requested. This was being done

in the full ACL code, but not in the unix access check code, which meant that qfileinfo
was failing for some parameters
(This used to be commit 96d017e521)
This commit is contained in:
Andrew Tridgell 2004-12-30 07:10:31 +00:00 committed by Gerald (Jerry) Carter
parent 373bca5bcd
commit ef179fddb3

View File

@ -306,6 +306,8 @@ NTSTATUS pvfs_access_check_unix(struct pvfs_state *pvfs,
return NT_STATUS_ACCESS_DENIED;
}
*access_mask |= SEC_FILE_READ_ATTRIBUTE;
return NT_STATUS_OK;
}