lkml.org 
[lkml]   [2000]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] devfs and symlinks--2.3.48
Richard Gooch wrote:
> Symlink permissions should not matter. The kernel doesn't care, and
> neither should applications. If some application out there is doing
> lstat(2), I'd rather break it and see it fixed, since it's probably
> broken in other ways too.

For procfs, symlink permissions do matter.

You can't readlink a procfs symlink that's not readable by you.
I'm thinking of /proc/N/cwd.

I don't know what other permissions are implied, but `ls -l
/proc/self/fd' shows me three symlinks with lrwx------ permission and
one with lr-x------ permission. There might even be a reason.

enjoy,
-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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