]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
cifs: Fix cifsacl ACE mask for group and others.
authorShyam Prasad N <sprasad@microsoft.com>
Sun, 21 Feb 2021 08:21:25 +0000 (08:21 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 23 Feb 2021 03:20:44 +0000 (21:20 -0600)
A two line fix which I made while testing my prev fix with
cifsacl mode conversions seem to have gone missing in the final fix
that was submitted. This is that fix.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsacl.h

index ff7fd0862e283880017f68113ca464ed18f9f698..d9e704979d992ebc2eb4750a29ca840bd89a1ad1 100644 (file)
@@ -31,8 +31,8 @@
 #define EXEC_BIT        0x1
 
 #define ACL_OWNER_MASK 0700
-#define ACL_GROUP_MASK 0770
-#define ACL_EVERYONE_MASK 0777
+#define ACL_GROUP_MASK 0070
+#define ACL_EVERYONE_MASK 0007
 
 #define UBITSHIFT      6
 #define GBITSHIFT      3