How do I get users to connect to a CIFS share with different permissions?

Status
Not open for further replies.

j63

Cadet
Joined
Jul 12, 2012
Messages
1
It's like this:
Essentially there are two groups of users
user A1, A2, A3 and
user B1, B2, B3.

I have two zfs volumes
/mnt/A and /mnt/B

I want:
A1 to have rwx access to /mnt/A
A2 to have rw- access to /mnt/A
A3 to have r-- access to /mnt/A

A1,2,3 should not be able to do anything with /mnt/B

The same goes for B users:
B1 has rwx access to /mnt/B
B2 has rw- access to /mnt/B
B3 has r-- access to /mnt/B

B1,2,3 should not have any access to /mnt/A

I tried making the volume owner user A1, who is member of group A and checking only the read option for the group access. user A3 would then, also being a member of group A, have read access. But I don't see a possibility of adding an auxiliary group for the volume that allows read and write access for user A2.

Enabling the read option for 'everyone' would not suffice since the B users are not allowed to access the volume.

Did anybody have a similar situation and/or a solution for such a situation.
Help is very much appreciated.
 
Status
Not open for further replies.
Top