fixed the sense of the pvfs_acl uwrap check
authorAndrew Tridgell <tridge@samba.org>
Wed, 5 Aug 2009 02:07:08 +0000 (12:07 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 5 Aug 2009 02:08:30 +0000 (12:08 +1000)
source4/ntvfs/posix/pvfs_acl.c

index 232883911e13ff136d28355a8533200ea941fecf..203b6b11c081f300b9f8aa2e0d924f584a2cc0e1 100644 (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