Mail Archives: cygwin/2002/06/27/13:32:21
----- Original Message -----
From: "Christopher Faylor" <cgf AT redhat DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Thursday, June 27, 2002 5:59 PM
Subject: Re: Bug in cvs cygwin1.dll ?
> On Thu, Jun 27, 2002 at 05:49:14PM +0100, Chris January wrote:
> >> Here it is again, latest Cygwin on WinME.
> >> Traces attached as requested.
> >> Thanks for looking into this.
> >>
> >> Pierre
> >>
> >> ~: mount
> >> <snip>
> >> c: on /c type user (binmode,noumount)
> >> e: on /e type user (binmode,noumount)
> >> ~: strace -o mv_file_c mv ggg /c
> >> mv: cannot move `ggg' to `/c': File exists
> >> ~: strace -o mv_file_e mv ggg /e
> >> mv: cannot stat `/e': Permission denied
> >Try making the directories /c and /e.
> >i.e.:
> >mkdir /c
> >mkdir /e
> >
> >and then retry. Do you still have this problem?
>
> I don't think this is the problem. This should actually be fixed in the
> latest snapshot.
Fair enough - my guess from the strace was that mv was stat'ing /c, finding
it not there (because the cygdrive prefix is set to / and Cygwin is taking
the directory listing of C:\Cygwin as authoritative for /) and trying to
copy the file ggg as /c. By making the directories, stat will succeed and
hopefully the file would be copied to the right location. I haven't actually
tested his test case with the latest snapshot, I was just going by the
strace.
Chris
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -