Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 13 Jan 2005 21:28:39 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: bug in chown() Message-ID: <20050113202839.GZ23702@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <41E67A5D DOT 1080402 AT byu DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E67A5D.1080402@byu.net> User-Agent: Mutt/1.4.2i 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 AT cygwin DOT 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/