madtulip
Explorer
- Joined
- Mar 28, 2015
- Messages
- 64
Hey everyone! :)
got some problems with cifs/windows access/file permissions/user groups.
i would like to have a folder /music on my /media volume in it which user A and B can read all subfolders.
A and B should be able to create subfolders like /music/band_A as well.
B should not be able to delete the folder /music/band_A created by A and vice versa.
I did create the users "A" and "B" and a group "group_A_and_B" containing both.
On the windows boxes accessing the nas i have the same accounts A and B with the exact same passwords. This works well for home directories if i set the volume to be owned by A respectively B.
however for the /media folder i can not get it to work with group permissions. i fiddled around with all kinds of combinations of volume permissions, sticky bit and the "apply default permissions" checkbox in the cifs share but i just cant figure it out. A and B never seem to be members of "group_A_and_B".
Also if i try to mount the home shares from windows and click the checkbox that i want to log in as a different user, but then just type in again username "A" and its password it wont grant access at all. I do not see how that is different from windows just by default using the currently signed in user and its password which is working.
got some problems with cifs/windows access/file permissions/user groups.
i would like to have a folder /music on my /media volume in it which user A and B can read all subfolders.
A and B should be able to create subfolders like /music/band_A as well.
B should not be able to delete the folder /music/band_A created by A and vice versa.
I did create the users "A" and "B" and a group "group_A_and_B" containing both.
On the windows boxes accessing the nas i have the same accounts A and B with the exact same passwords. This works well for home directories if i set the volume to be owned by A respectively B.
however for the /media folder i can not get it to work with group permissions. i fiddled around with all kinds of combinations of volume permissions, sticky bit and the "apply default permissions" checkbox in the cifs share but i just cant figure it out. A and B never seem to be members of "group_A_and_B".
Also if i try to mount the home shares from windows and click the checkbox that i want to log in as a different user, but then just type in again username "A" and its password it wont grant access at all. I do not see how that is different from windows just by default using the currently signed in user and its password which is working.