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 X-WM-Posted-At: avacado.atomice.net; Thu, 27 Jun 02 18:34:39 +0100 Message-ID: <014401c21e00$ea339ec0$0100a8c0@advent02> From: "Chris January" To: References: <3 DOT 0 DOT 5 DOT 32 DOT 20020625225959 DOT 0080a290 AT mail DOT attbi DOT com> <3 DOT 0 DOT 5 DOT 32 DOT 20020625225959 DOT 0080a290 AT mail DOT attbi DOT com> <3 DOT 0 DOT 5 DOT 32 DOT 20020626205415 DOT 00808240 AT mail DOT attbi DOT com> <010101c21dfa$922f5440$0100a8c0 AT advent02> <20020627165939 DOT GD28018 AT redhat DOT com> Subject: Re: Bug in cvs cygwin1.dll ? Date: Thu, 27 Jun 2002 18:34:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 ----- Original Message ----- From: "Christopher Faylor" To: 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 > >> > >> 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/