folder help

Status
Not open for further replies.

amdefeo

Cadet
Joined
Jul 28, 2011
Messages
2
Hi, this may be a real easy question, but I can not figure it out.

I have a windows share, and I have folders inside the folder. I would like to allow access to these folders for only cretin people for ex. Use1 can only access User 1 folder.

I have users set up, Im not sure why I cant figure out how to do this.

Any help would be great, thanks
 
Joined
May 27, 2011
Messages
566
for the root folder, set the group to a group that all the users belong too. then for the children folder, set the user to be the owner. change the permissions for the folder so that on the root folder, the group has as much access as you want everyone to have, then for the child folders, drop the group permissions to 0.

for the rootfolder:
Code:
drwxrwx---  4 root  UsersGroup  4 Jul 28 19:01 rootFolder


for the contents:
Code:
drwx------  2 user1  UsersGroup  2 Jul 28 19:01 user1
drwx------  2 user2  UsersGroup  2 Jul 28 19:01 user2
 
Status
Not open for further replies.
Top