Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access control lists

Status
Not open for further replies.

sroberts82

Programmer
Oct 11, 2005
36
US
Hi,
I was wondering if someone could help me with ACL's. I have a file, say output, created by the root user, member of group other. Its permissions are rwxr--r--. I want only people in group other to have rwx access, but I also want one other user, stephen, member of some_other_group to have rwx access. I added an entry to the acl to give me:
user:stephen:rwx
Logged in as stephen, I can now write to the file but cannot delete it. How is this? If it helps the directory permissions are
rwxr-xr-x root other

The mask is rwx too.

Thanks in advance
 
can you do a getfacl on the directory and post the output.

thanks

ca
 
Logged in as stephen, I can now write to the file but cannot delete it. How is this?

To change a file you need w (write) access, to delete a file you need w (write) access to the directory (file) it is in.

I hope that helps.

Mike
 
Nice one thanks, that was the problem, I didnt have w permission on the dir
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top