peter boos
Dabbler
- Joined
- Sep 21, 2020
- Messages
- 35
Hello, I want to setup permission so that i have a base:
/mnt/some/folder/base (owned by root and wheel)
Under it I like to add folders in such a way that only if one is a member of that foldergroup one can see that subfolder.
so
There is a group "PRJ_One" assigned the first folder as below
Each folder gets its own group assigned, PRJ_Two, PRJ_Three, etc ..
How to set folder permissions so that only if your a member of a certain project group you can see the folder
If a person is member of multiple groups say PRJ_One and PRJ_Four he would see only those two folders
I think it should be possible but i dont know how to set permission on /mnt/some/folder/base
To allow browsing only sub folders to which one has permission to
Note that i want to do this by console commands (it will become part of a script for adding projects).
/mnt/some/folder/base (owned by root and wheel)
Under it I like to add folders in such a way that only if one is a member of that foldergroup one can see that subfolder.
so
Code:
/mnt/some/folder/base/Project_One /mnt/some/folder/base/Project_Two /mnt/some/folder/base/Project_Three /mnt/some/folder/base/Project_Four
There is a group "PRJ_One" assigned the first folder as below
setfacl -m g:"Domain\PRJ_One":full_set:df:allow /mnt/some/folder/base/Project_One
Each folder gets its own group assigned, PRJ_Two, PRJ_Three, etc ..
How to set folder permissions so that only if your a member of a certain project group you can see the folder
If a person is member of multiple groups say PRJ_One and PRJ_Four he would see only those two folders
I think it should be possible but i dont know how to set permission on /mnt/some/folder/base
To allow browsing only sub folders to which one has permission to
Note that i want to do this by console commands (it will become part of a script for adding projects).
Last edited: