Alon Altman wrote:

On Wed, 8 Jun 2005, Shachar Shemesh wrote:

Hi all,

Does anyone know WHY only root can create hard links to directories? What is the attack/problem this permission restriction is trying to solve?


Because only root can unlink a non-empty directory?

I was hoping to learn something new from the answers, but I have to admit that I didn't expect anything like that.

WHY can root unlink a non-empty directory? Why is that useful? What's the difference between that and "rm -r", and when would I want to use that?

Congrats, Alon. Not only did you not answer my question, you've added to the mystery :-)

  Alon

      Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to