bug in chown()

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jan 13 20:41:00 GMT 2005

On Jan 13 06:40, Eric Blake wrote:
> In trying to get the newly released coreutils 5.3.0 tarball working on
> cygwin, I discovered that cygwin chown() has a bug.  Background:
> http://lists.gnu.org/archive/html/bug-coreutils/2005-01/msg00064.html

Do you intend to take over maintainership of coreutils?  I would be *so*

Did you see my Cygwin specific patches in the source tar archive of
coreutils 5.2.1 in the Cygwin net distro?  It's all in the subdirectory
called "CYGWIN", diffs and ChangeLogs.

> POSIX requires that "chown() shall mark for update the st_ctime field of
> the file" if successful and at least one of owner or group was not -1.
> http://www.opengroup.org/onlinepubs/009695399/functions/chown.html
> However, in cygwin, chown() appears to have no effect whatsoever on the
> change time.  (gid_t)0 is the 'root' group.  I tested this on a WinXP

I'm going to fix that.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list