Messages in this thread | | | From | root@mauve ... | Subject | Re: reading links in proc - permission denied | Date | Sat, 14 Jun 2003 23:09:40 +0100 (BST) |
| |
> --- > Not at all...in fact was told it doesn't. Apparently, though, > the listed permissions on the links are arbitrary and the system > fairly well ignores them. > > I vaguely remember someone once saying that even if a symlink > had permissions lrxw------, it could still be used by group and > others. I don't know if that was or is still true -- certainly doesn't
man symlink ... The permissions of a symbolic link are irrelevant; the ownership is ignored when following the link, but is checked when removal or renaming of the link is requested and the link is in a directory with the sticky bit set.
In short, the permissions of the file being linked to are important. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |