getcifsacl does not work with CIFS mount versions 2 or 3

Miloslav Hůla miloslav.hula at fsv.cvut.cz
Thu Jan 24 08:10:19 UTC 2019


Hi

When I mount CIFS share (mount -t cids) with vers=1.0 I can perform
getcifsacl sucessfully. But when I mount with vers=2.0, or 2.1, or 3.0,
ACL reading fails.

getxattr error: 95
REVISION:0x0
CONTROL:0x0

Why getcifsacl depends on SMB protocol version? Can I read ACL via newer
SMB protocol?

I asked on Serverfault but without reply:
https://serverfault.com/questions/948052/getcifsacl-does-not-work-with-cifs-mount-versions-2-or-3

I asked in [samba] list and they pointed me there:
https://lists.samba.org/archive/samba/2019-January/thread.html#220502

Thank you,
Milo



More information about the samba-technical mailing list