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 content-class: urn:content-classes:message Subject: RE: 1.1.10 Problem: mv and directories in use MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 2 Apr 2002 21:45:19 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Robert Collins" To: "Xavier Bergade" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g32BkTx28898 > -----Original Message----- > From: Xavier Bergade [mailto:xbergade AT hotmail DOT com] > Sent: Tuesday, April 02, 2002 8:31 PM > To: cygwin AT cygwin DOT com > Subject: 1.1.10 Problem: mv and directories in use > > > On windows XP & 2000: > open 2 instances of cygwin > > instance 1: > mkdir /1 && echo "tst" > /1/tst && cd /1 > > instance 2: > cd / > mv /1 /2 > > Instead of returning an error, something like "/1" is in use, > it copies /1 to /2, THEN returns: > mv: cannot remove directory `/1': Permission denied > mv: cannot remove `/1': Permission denied > > Shouldn't it say something like: > mv: cannot move `/1': Directory in use Patches gratefully accepted. Rob -- 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/