Re: hardlinks.... sucks... ;-(

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 29 Dec 1997 15:52:05 +0000 (GMT)


> >in the root partition (presumably /tmp would be a symlink to /var/tmp)
> >would also help. I didn't see how your security hole worked until I
> >stopped trying to think *why* root would do what you say he'd do.
>
> Unfortunately, but files in not only root directory maybe "hacked" by users.
> For example, there is foreign user files. It's maybe very important. And as

If chown -R doesnt do what you want, then fix the chown command to have a flag
for "dont chown hard linked files". Its not a kernel issue, its either a
user error issue and/or a "tool does the wrong thing" issue depending on your
viewpoint