Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: hardlink to symlink behaviour [was: Re: MKXORG=yes on Linux: nbmtree: existing entry for `', type `link' does not match type `file']

Digging a bit more into this, it's related to the difference in handling hardlink to symlinks. On NetBSD, it seems that you get a link to the target file these days[1], while on Linux you get a link to the symlink[2]. ISTR that NetBSD used to behave like Linux there - is this really intended?

FWIW, Solaris behaves the same way as Linux does.

Yes, both of them are "incorrect" (if you can use this term for not following all other unix systems). :)

See this for a vulnerability because of this misbehavior:

A nicer explanation of the problem:

Home | Main Index | Thread Index | Old Index