This is the mail archive of the
cygwin-patches@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: symlink changes
- To: Corinna Vinschen <corinna at vinschen dot de>
- Subject: Re: symlink changes
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Fri, 31 Mar 2000 15:05:08 -0500
- Cc: cygpatch <cygwin-patches at sourceware dot cygnus dot com>
- References: <38E4F407.3AB20C82@vinschen.de>
On Fri, Mar 31, 2000 at 08:52:55PM +0200, Corinna Vinschen wrote:
>- The other problem was that in chown the path was evaluated with
> SYMLINK_FOLLOW. This isn't the same behaviour as under linux.
> I have patched it, so that now a chown on a symlink changes
> user/group of the symlink instead of the linked file, equal to
> linux. This is done by using SYMLINK_IGNORE as parameter to
> path_conv.
I believe that linux has an "lchown" call as well as a "chown" call.
I'd prefer to implement lchown and leave chown alone. It would also
be nice to implement fchown (and fchmod?) while we're at it.
cgf