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
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. domuser: DENIED/ 0x0/FULL' filename
setcifsacl -a ‘ACL:MYDOMAIN\
And just for safe measure, removed and created the ACE again. domuser: DENIED/ 0x0/FULL' filename domuser: DENIED/ 0x0/FULL' filename
setcifsacl -D ‘ACL:MYDOMAIN\
setcifsacl -a ‘ACL:MYDOMAIN\
The above goes through without any error, which was not true without the fix.
Without the fix, I get this error: domuser: DENIED/ 0x0/FULL’ /mnt/test/abc
setcifsacl -a ‘ACL:MYDOMAIN\
main: setxattr error: Invalid argument