Re: Can't hardlink in different dirs. (BUG#826)

Kjetil Torgrim Homme (kjetilho@ifi.uio.no)
09 Dec 1999 01:25:28 +0100


[Alexander Viro]

> Again, until you've removed your link _other_ links do not
> matter. And once you've removed it it will not be used to create
> new ones anyway. I still don't see anything you could buy
> prohibiting link().

Think chroot(). Think chmod() (by the admin after the "rogue"
link()). I think the change in semantics is reasonable. Hardlinks
are seldom used by ordinary users, anyway, since they can't cross
device boundaries.

Kjetil T.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/