0

I have setup samba share at xfs file system. Samba 4.2 runs at CentOS 7.

Setting POSIX ACLs and extended attributes works as expected (setfacl -m user:joe:rw example.txt, setfattr -n user.example -v foo example.txt) at Linux.

The samba sharing is defined in smb.conf:

[public] comment = Public Stuff path = /home/samba public = yes writable = yes printable = no valid users = @staff nt acl support = yes vfs objects = acl_xattr 

Edit: added these two options:

 map acl inherit = yes store dos attributes = yes 

I'm able to connect to the sharing 'public'. I'm able to create files and directories. I'm able to set permissions mapped to UNIX permissions, but I'm not able to set ACL permissions to other users. When I'm logged to sharing public as user john and I want to add extra access permission for user e.g. joe, then Windows says that Object joe was not found. I use Windows 10. There are no errors logs (/var/log/samba/*).

Edit: problem solved. I forgot to add samba password also for other users using: smbpasswd -a joe.

2
  • does this help? Commented Apr 19, 2016 at 18:09
  • When I added options: map acl inherit = yes and store dos attributes = yes, then permissions are saved in POSIX ACLs an extended attributes, but I'm still not able to add ACLs to other users. Commented Apr 20, 2016 at 7:08

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.