[Samba] vfs fruit unable to create xattr and ACL from OS X 10.10.4

Michal Moravec michalm.mac at gmail.com
Fri Jul 31 12:47:03 UTC 2015

> On 29 Jul 2015, at 10:02, Ralph Böhme <rb at sernet.de> wrote:
> Hm, works for me:
> mac$ mount | grep smb
> //ralph at <mailto:ralph at>/AAPL on /Volumes/AAPL (smbfs, nodev, nosuid, mounted by ralph)
> mac$ touch /Volumes/AAPL/test
> mac$ xattr -w foo bar /Volumes/AAPL/test
> mac$ xattr -l /Volumes/AAPL/test
> foo: bar
> mac$ 

It does not matter if I use ls -la@ or xattr -l. Nothing is there.

> As expected, afair the client doesn't support modifyint ACLs on an smb
> mount. Have you verified this works against an Apple SMB server?

I didn’t know that. I confirm client can’t do this with Apple SMB server either.
Thank you for info.

>>       fruit:nfs_aces = yes
>>       fruit:veto_appledouble = yes
> fwiw, I'd remove anything that is the default.

Are there any possible problems with this approach apart from convention/cleaner config?
Our Samba admin prefers it this way.

> man setfattr
admin-apple # touch test.txt
admin-apple # setfattr -n user.test -v test test.txt
admin-apple # setfattr -n security.test -v test2 test.txt
admin-apple # getfattr -d test.txt
# file: test.txt

admin-apple # getfattr -n security.test -d test.txt
# file: test.txt

From this output I conclude extended attributes are indeed supported on our storage array.

> I'd be happy to help, but being busy atm I'll have to see when to take
> another look.
Thank you. I would appriciate some tips how to debug this and find what is causing this problem.


More information about the samba mailing list