This is the mail archive of the cygwin-patches@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: symlink changes


Chris Faylor wrote:
> 
> 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.

Ah, ok, I will change my code according to this.

Corinna

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]