lkml.org 
[lkml]   [2003]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: reading links in proc - permission denied
Date
> ---
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.022 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site