Hey... Why I can made hardlink to file that I'm not owner?
Simple example why I think that only owner should have permission to create hardlinks to his files. First. leila:root:~# ls -l /root/very-secret-file -rw------ 1 root wheel 3011 13 Lut 16:47 /root/very-secret-file leila:evil-hacker:~> ln /root/very-secret-file ~/whatsthis <I need remove it fast!!!> leila:root:~# rm -f /root/very-secret-file Yes, I know that evil-hacker can't read this file but... He can't read it NOW, but in a future he can break in and read it. I know that we can check this with 'st_nlink' or use -P with rm, but... Or tell me when this feature can help. -- Paweł Jakub Dawidek Network Administrator. Am I Evil? Yes, I Am.
msg33405/pgp00000.pgp
Description: PGP signature