normal user can delete files, which is not owned by him.

 try:
 [EMAIL PROTECTED] cd ~
 [EMAIL PROTECTED] su
 [EMAIL PROTECTED] touch XXX
 [EMAIL PROTECTED] chmod 700 XXX
 [EMAIL PROTECTED] exit
 [EMAIL PROTECTED] rm -f XXX
 :) that file is deleted !!!
Yeah... But what owner of this file is ??

Look:
SRV:/home/ftp# ls -la
-rw-------  1 root root     166 2004-05-12 15:07 welcome.msg

[EMAIL PROTECTED]:~$ rm -f welcome.msg
rm: cannot remove `welcome.msg': Permission denied

for example: at /, /bin ..it is not possible, but at: /usr/bin/, ~/, /tmp it is really possible.
Yeap.. because is owned as root, not x account in your example.

I never had any problems with remove non-owned files.
I sugest read manual of LS command :)

--
I greet
Wieslaw



----------------------------------------------------------------------
Startuj z INTERIA.PL!!! >>> http://link.interia.pl/f1837



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to