r4584: fix pvfs backend to pass the new enhanced RAW-ACLS test. Easy once I really the
[samba.git] / source4 / ntvfs / posix / pvfs_mkdir.c
index d2d431ae79fe0618cd5100ddbb7a020b2de8a5e5..42b5109673161c6c9b2af3c0e0f323f8fdba7347 100644 (file)
@@ -44,7 +44,7 @@ static NTSTATUS pvfs_t2mkdir(struct pvfs_state *pvfs,
                return NT_STATUS_OBJECT_NAME_COLLISION;
        }
 
-       status = pvfs_access_check_create(pvfs, req, name);
+       status = pvfs_access_check_create_nomask(pvfs, req, name);
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }
@@ -114,7 +114,7 @@ NTSTATUS pvfs_mkdir(struct ntvfs_module_context *ntvfs,
                return NT_STATUS_OBJECT_NAME_COLLISION;
        }
 
-       status = pvfs_access_check_create(pvfs, req, name);
+       status = pvfs_access_check_create_nomask(pvfs, req, name);
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }