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: Fri, 4 Mar 2005 12:06:54 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: "cannot set time" on FAT32 - after installing cygwin-1.5.13-1 Message-ID: <20050304110654.GY2839@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <42283ACA DOT 2030108 AT iopan DOT gda DOT pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42283ACA.2030108@iopan.gda.pl> User-Agent: Mutt/1.4.2i On Mar 4 11:39, Jacek Piskozub wrote: > Corinna Vinschen wrote: > > >Can you run strace on this cvs checkout? The calls to SetFileTime > >have debug messages attached which you will see when scanning the > >strace. One prints a message along the lines of "SetFileTime (%s) failed", > >the other error message is within a short range after a line with text like > >"incoming lastaccess ". > > > > Well, I found this in the 1.5.13-1 strace output file: > > > 867 3751972 [main] cvs 925621 fhandler_disk_file::utimes: incoming > > lastaccess 422832B6 00000000 > > 196 3752168 [main] cvs 925621 fhandler_base::close: closing > > '/cygdrive/d/mozilla_source/mozilla/client.mk' handle 0x20 > > 120 3752288 [main] cvs 925621 seterrno_from_win_error: > > /netrel/src/cygwin-1.5.13-1/winsup/cygwin/fhandler_disk_file.cc:835 > > windows error 5 > > 4058 3756346 [main] cvs 925621 geterrno_from_win_error: windows error 5 > > == errno 13 > > 845 3757191 [main] cvs 925621 geterrno_from_win_error: windows error 5 > > == errno 13 > > 175 3757366 [main] cvs 925621 utimes: -1 = utimes (client.mk, 0x7EAB30) > > 363 3757729 [main] cvs 925621 fhandler_base::write: binary write > >U mozilla/client.mk > > Is that what you need? Yes, exactly. I'm a bit surprised, though. Can you make another test, please? Something like that: $ echo foo > foo-rw $ echo foo > foo-r $ chmod a-w foo-r $ touch foo-rw $ touch foo-r The question is this: Do both touch succeed or does the latter touch fail? Even if it not fails, could you please try strace on both calls to touch and see if you can find something like the above strace snippet? Thanks in advance, 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/