delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/03/10:32:43

X-Spam-Check-By: sourceware.org
Message-ID: <ba40711f0607030732n5c4e2450p4857279d24010155@mail.gmail.com>
Date: Mon, 3 Jul 2006 10:32:30 -0400
From: "Lev Bishop" <lev DOT bishop AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mv: permission denied - bug
In-Reply-To: <083ED85235915A4AAE91081E3CC6148702CBD8@ihbexc1.inconso.de>
MIME-Version: 1.0
References: <083ED85235915A4AAE91081E3CC6148702CBD8 AT ihbexc1 DOT inconso DOT de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I failed to reproduce your problem. However, maybe you can test out a
couple of things:

You are doing the move accross volumes (from /tmp which you have
mounted from  d:\programme\cygwin\ to /cygdrive/x/test , which is
x:\test\ ). Do you still see the problem if you do the move within the
same volume? (Ie, make a directory /cygdrive/x/tmp/ and use it instead
of /tmp/ ). This would be a good idea even if it doesn't fix this
problem, since it should also be faster, because mv within the same
volume is just a rename, whereas mv between volumes has to do a copy
then delete.

Do you still see the problem if you use a mount instead of
/cygdrive/x/ (ie something like
$ mount -s -b "x:/test" "/xtest"
and then use /xtest in place of /cygdrive/x in all your scripts)? (I
wouldn't expect this to make a difference, but you never know).

Are you running anything that wants to examine every file on your
system (realtime virus scanner, personal firewall, content indexer,
google desktop search, etc)? Try uninstalling (not just disabling) all
such software, as it has been known to cause similar problems in the
past.

cygcheck indicated that both d: and x: are local ntfs hard disks. Is
this correct?

HTH,
L

--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019