Weird File Permissions Issue
Hey all,
Confused about another problem now. What I knew is that when a file does not have write permissions (created by root:wheel) for groups and others, then users other than root cant delete that file. But it seems i am lacking in concept as this is what has been happening As root i m creating a file in jake's home dir #touch /home/jake/file #chmod 000 /home/jake/file #chown root:wheel /home/jake/file (just to be 100% sure) now jake logs in (or any other user) the file has 000 permission and is created by root: wheel but he can still delete the file...after a override modes message. (it does happen with all the other users too) But the users cant delete the file if it is created outside their home directory... So what it means is that users can delete any file created by anyone under their home directory... Please let me know where i m missing out ... Thanks in Advance SiLiCoN |
This is how permissions work in Unix.
If you own the folder, you can delete what evers in that folder. Easy as that. |
All times are GMT -5. The time now is 12:13 AM. |