[lkml]   [1996]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: How does chown(2) works with symlinks?
>Which file gets changed when a call to chown(2) is done on a symlink?
>The man page gives the impression that it would follow the symlink and
>change the owner of the file pointed by the symlink. Still, if a used
>chown on a symlink now, it will only change the symlink. Was there a
>change to the way it works?

Don't complain -- the current behaviour is the Right Thing. AFAIK
Linux has always had the correct behaviour. Some other Unices get it
wrong, which may have influenced the man page.


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