Skip to content

Commit

Permalink
cifs: Fix cifsacl ACE mask for group and others.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shyam Prasad N authored and Steve French committed Feb 23, 2021
1 parent 40f077a commit c12ead7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/cifs/cifsacl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c12ead7

Please sign in to comment.