[PATCH] NFS: Fix handling of the umask when an NFSv3 default acl is present.
[deliverable/linux.git] / fs / nfs / inode.c
index 440b9cbb6f8116e006b0657b1791e9765fd5f5fc..50a03f1504a18d4ce7d0165478b665f1611077cb 100644 (file)
@@ -490,6 +490,11 @@ nfs_fill_super(struct super_block *sb, struct nfs_mount_data *data, int silent)
 #else
                server->flags &= ~NFS_MOUNT_NOACL;
 #endif /* CONFIG_NFS_V3_ACL */
+               /*
+                * The VFS shouldn't apply the umask to mode bits. We will
+                * do so ourselves when necessary.
+                */
+               sb->s_flags |= MS_POSIXACL;
                if (server->namelen == 0 || server->namelen > NFS3_MAXNAMLEN)
                        server->namelen = NFS3_MAXNAMLEN;
                sb->s_time_gran = 1;
This page took 0.029179 seconds and 5 git commands to generate.