Mail Archives: cygwin/2005/03/04/06:07:21
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 <hexnumber> <hexnumber>".
> >
>
> 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/
- Raw text -