Adding a file to two user groups in samba

view full story

http://serverfault.com – I have a test setup with two user groups: group-a and group-b, and a single samba-share with path = /data/share read only = no create mask = 770 Certain users are in both group-a and group-b and have group-a as their primary group. Therefore, they can look into the share and access all the files as the users who only have group-a privileges. I also mapped both group-a and group-b to corresponding NT groups using sudo net groupmap add ntgroup="GROUP-A" unixgroup=group-a sudo net groupmap add ntgroup="GROUP-B" unixgroup=group-b The problem is that when I try to add special permissions fo (HowTos)