getcifsacl does not work with CIFS mount versions 2 or 3

Miloslav Hůla miloslav.hula at fsv.cvut.cz
Fri Jan 25 15:19:19 UTC 2019


Dne 2019-01-24 v 15:18 Aurélien Aptel via samba-technical napsal(a):
> Miloslav Hůla via samba-technical <samba-technical at lists.samba.org>
> writes:
>> so, the 4.9.0-8-amd64 is probably too old.
>>
>> Which version is new enough? Some 4.x or 5.0?
> 
> 4.20 and above should work.

I tried kernel 4.20.4 with Debian stable (stretch, 9.6) and cifs-utils 
from branch next [1] and ACL reading now works with CIFS mount vers=2.0, 
2.1 or 3.0. All utilitis smbinfo, getcifsacl and setcifsacl work well.

I built cifs-utils by tag cifs-utils-6.8 and getcifsacl and setcifsacl 
works too. Maybe, older kernel would be enough by I'm satisfied with 
such result.

Many thanks for your help!

Regards, Milo

[1] 
https://github.com/piastry/cifs-utils/commit/3eb33a11665aebc503024b1b8ed655a32eb55035



More information about the samba-technical mailing list