delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/03/12:00:26

X-Spam-Check-By: sourceware.org
Subject: RE: mv: permission denied - bug
MIME-Version: 1.0
Date: Mon, 3 Jul 2006 17:59:44 +0200
Message-ID: <083ED85235915A4AAE91081E3CC61487041EDB@ihbexc1.inconso.de>
From: "Hofmann Kai" <KHofmann AT inconso DOT de>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k63G0McW026916

Hi,

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

Thanks for the idea - I tried this - without fixing the problem - also I
haven't seen much speedup - sorry.

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

Ok, I tried - at first the mount here gave me an
Warning - /xtest does not exist.

But /xtest exists after it.

I run the modified scripts having /xtest/tmp as temporary directory.
(Scanner disabled).
Same result - problem is still there.

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

Your are right, I missed the McAfee VirusScan Enterprise 8 - it is
configured to only scan on write - during running my script I can see
that it scans after a mv happened. But for the failed files I can not
see a scan (because the write has not happened).
I can not uninstall it (by company policy), but when disabling it, it
makes no differences - the problem is still there.
Maybe I can try this on a different pc without a scanner.
 
> cygcheck indicated that both d: and x: are local ntfs hard disks. Is
> this correct?

Yes its a Laptop with one HardDisk with some partitions - d/x are both
NTFS partitions. I also have a temp (z) partition that is FAT32.
Just for the fun I tried to have the tmp on this partition (with
disabled scanner). Makes no differences ....


Btw. I found that when I cancel the running script (last find) via
ctrl-c - then the main script is cancelt, but the diff runs in
background.
Thought all child processed died with the parent one?

Greetings

    Kai

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