lkml.org 
[lkml]   [1998]   [Jan]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 19 Jan 1998 03:38:53 -0500 (EST)
From"Albert D. Cahalan" <>
SubjectRe: sys_chown() hits symlinks
Linus Torvalds writes:

> That's another issue - symlinks always have mode lrwxrwxrwx,
> and nobody can change that, including root. So a "chmod -R"
> should just ignore symlinks

At one time, you were thinking of setuid symlinks.
Have you changed your mind? It would be nice to have
path traversal under another UID or GID while blocking
some users.

Unfortunately, the write bit is normally set.
Read permission is readlink and execute permission
allows following the symlink.

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008