Resending the patch as the old one had formatting issues. Please use this for applying the patch. Regards, Shyam On Fri, Feb 19, 2021 at 5:20 AM Shyam Prasad N <nspmangalore@xxxxxxxxx> wrote: > > Hi Steve, > > Here's the first of the two patches for cifsacl mount option. I'll > soon submit a bunch of tests in buildbot for cifsacl. > > Here's the test output with this and the next patch combined. Pointing > out the changes due to this one below: > linuxadmin@linuxvm20:/mnt/TestShare/Feb18$ touch file11 > linuxadmin@linuxvm20:/mnt/TestShare/Feb18$ getcifsacl file11 > # filename: file11 > REVISION:0x1 > CONTROL:0x8004 > OWNER:LINUXDOMAIN\linuxadmin > GROUP:LINUXDOMAIN\Domain Users > ACL:LINUXDOMAIN\linuxadmin:ALLOWED/0x0/FULL > ACL:NT Authority\SYSTEM:ALLOWED/0x0/FULL > ACL:BUILTIN\Users:ALLOWED/0x0/READ > <<< these were ACEs set by the server. > > linuxadmin@linuxvm20:/mnt/TestShare/Feb18$ chmod 0727 file11 > linuxadmin@linuxvm20:/mnt/TestShare/Feb18$ getcifsacl file11 > # filename: file11 > REVISION:0x1 > CONTROL:0x8004 > OWNER:LINUXDOMAIN\linuxadmin > GROUP:LINUXDOMAIN\Domain Users > ACL:NT Authority\SYSTEM:ALLOWED/0x0/FULL <<< old ace > ACL:BUILTIN\Users:ALLOWED/0x0/READ <<< old ace > ACL:LINUXDOMAIN\linuxadmin:ALLOWED/0x0/FULL <<< new aces translated > from mode bits > ACL:LINUXDOMAIN\Domain Users:DENIED/0x0/0xd0131 <<< > ACL:LINUXDOMAIN\Domain Users:ALLOWED/0x0/0x1f01de <<< > ACL:\Everyone:ALLOWED/0x0/FULL <<< > > -- > Regards, > Shyam -- Regards, Shyam
Attachment:
0001-cifs-Retain-old-ACEs-when-converting-between-mode-bi.patch
Description: Binary data