The version tested was cifs-utils 2:6.8-1ubuntu1.
Testing the fix involved mounting Azure file share from Ubuntu-18.04, create a 
file, then:
getcifsacl filename

Add a valid ACE which is not already a part of the above output. 
setcifsacl -a ‘ACL:MYDOMAIN\domuser:DENIED/0x0/FULL' filename

And just for safe measure, removed and created the ACE again. 
setcifsacl -D ‘ACL:MYDOMAIN\domuser:DENIED/0x0/FULL' filename
setcifsacl -a ‘ACL:MYDOMAIN\domuser:DENIED/0x0/FULL' filename

The above goes through without any error, which was not true without the
fix.

Without the fix, I get this error:
setcifsacl -a ‘ACL:MYDOMAIN\domuser:DENIED/0x0/FULL’ /mnt/test/abc
main: setxattr error: Invalid argument

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886548

Title:
  setcifsacl: fix adding ACE when owner sid in unexpected location

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1886548/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to