Subject: Re: chmod & symlink broken in 1.6
To: None <tech-kern@netbsd.org>
From: Matthew Mondor <mmondor@gobot.ca>
List: tech-kern
Date: 10/29/2002 08:55:10
On Tue, Oct 29, 2002 at 02:49:45PM +0100, Matthias Drochner wrote:
> 
> No, no.
> Normally, symlinks don't have permissions.
> 
> The chmod(1) manpage states:
> [...]
> -h      If file is symbolic link, the mode of the link is changed.
> [...]
> 
> This is a NetBSD extension. Standard is that the link is followed.

Hmm makes sense... ah yes, chmod.c sets change_mode to chmod(2) or lchmod(2)

Matt