From: Andrew Tridgell Date: Wed, 5 Aug 2009 02:07:08 +0000 (+1000) Subject: fixed the sense of the pvfs_acl uwrap check X-Git-Tag: talloc-2.0.0~469 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15a6a93d35e5be0ed24377006060ff66802d6844;p=thirdparty%2Fsamba.git fixed the sense of the pvfs_acl uwrap check --- diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c index 232883911e1..203b6b11c08 100644 --- a/source4/ntvfs/posix/pvfs_acl.c +++ b/source4/ntvfs/posix/pvfs_acl.c @@ -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