lkml.org 
[lkml]   [1996]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How does chown(2) works with symlinks?
Date
From
Personally, for the sake of consistentness, I would prefer
if chmod() and chown() both follow symlinks.

And permissions for a symbolic link /are/ relevant; you cannot
readlink() a symbolic link that has no read permission.
(try ls -l /proc/1)
--
Michiel Boland <boland@sci.kun.nl>
University of Nijmegen
The Netherlands


\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans