This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bug in chown()
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 13 Jan 2005 21:28:39 +0100
- Subject: Re: bug in chown()
- References: <41E67A5D.1080402@byu.net>
- Reply-to: cygwin at cygwin dot com
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*
happy!
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.
Thanks,
Corinna
--
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/