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    [W:0.078 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site