Re: sys_chown() hits symlinks

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 18 Jan 1998 20:18:17 +0000 (GMT)


> > Incorrect. Neither the owner nor the mode of a symlink have any
> > effects, whatsoever.
> And that's too bad !

Why ?

> Any idea why unix does it this way and why no unix derivative got rid of this
> appearently stupid behavior ?

Because a symbolic link is merely a file system redirection. The permissions
of what it redirects via and too apply.

Alan