1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-24 10:50:22 +03:00

fixed the sense of the pvfs_acl uwrap check

This commit is contained in:
Andrew Tridgell 2009-08-05 12:07:08 +10:00
parent 46bd2271b2
commit 15a6a93d35

View File

@ -473,7 +473,7 @@ NTSTATUS pvfs_access_check_unix(struct pvfs_state *pvfs,
max_bits |= SEC_STD_ALL;
}
if (!uwrap_enabled()) {
if (uwrap_enabled()) {
/* when running with the uid wrapper, files will be created
owned by the ruid, but we may have a different simulated
euid. We need to force the permission bits as though the