Hi,

I have a file on Linux box with folder and file permission as:
 
-bash-3.2$ ls -d root
drwxr-xr-x 25 root root 4096 Feb 29 13:34 root

-bash-3.2$ ls -l /root/deleteme
-rwxrwxrwx 1 root root 0 Feb 29 13:34 /root/deleteme
 
I log in as normal user say User1 and I run
 
rm /root/deleteme
 
I get:
 
rm: cannot remove `/root/deleteme': Permission denied
 
But intrestingly, User1 can edit the file deleteme and delete the text in the 
file!!
 
Why?? 
 
Thanks and Regards,
Amit Sharma
_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to