Comment 5 for bug 1886548

Revision history for this message
nspmangalore (nspmangalore) wrote :

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