Results 1 to 1 of 1
Hi everyone,
I am trying to assign a group of programmers to a folder so that all users in that group can create, edit, and delete any files/folders inside that ...
- 06-26-2009 #1Just Joined!
- Join Date
- Jun 2009
- Location
- Texas
- Posts
- 1
Trying to get ACL working in RHEL5
Hi everyone,
I am trying to assign a group of programmers to a folder so that all users in that group can create, edit, and delete any files/folders inside that folder. Lets say that I created user1, user2, and a group called coders. The folder that I want all coders to be able to access will be named html.
First i set the default ACL on the html folder so that the group coders would have all permissions.
This should force all new folders to have all permissions for group coders. Next, I gave all permissions to all folders and files under html for coders.Code:setfacl -R -d -m g:coders:rwx html getfacl html # file: resources # owner: root # group: coders user::rwx group::rwx mask::rwx other::r-x default:user::rwx default:group::rwx default:group:coders:rwx default:mask::rwx default:other::r-x
Now, if I use winscp to create a new file with user1, and then try to overwrite that file with user2 I get a permissions error. What am I doing wrong?Code:setfacl -R -m g:coders:rwx html
Thanks,
Metropolis


Reply With Quote