I'm using RED HAT ENTERPRISE LINUX 5
Let's look at this folder layout:
Let's say that the group G1
has access to the A folder
(and all the subfolders).
I have a long samba definition file that uses groups to allow various people to reach folders.
The samba portion that affects the folder A is:
path = /AI need to exclude the folders B and C for one user of that group. Is that possible?
browseable = no
valid users = @G1
write list = @G1
create mask = 0770
directory mask = 0770
force group = @G1
I've been trying to use setfacl -x u:user_to_be_excluded /A/B
but as the user_to_be_excluded
is from the group G1
setfacl is not working...
I've modified the fstab file in order to activate the acl:
LABEL=/A /A ext3 defaults,acl 1 2
And I've restarted the computer.
and I've used mount |grep acl
to see that the changes in the fstab file have been applied (and they are).
What would you do in my case?
Thank you in advance!