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-Server-Uuid: C7B63A7D-B711-4BF3-AF47-0E6C663E1461 Sensitivity: Subject: RE: Bug in rm -r with locked files To: "Steve Fairbairn" cc: cygwin AT cygwin DOT com From: Brian DOT Kelly AT empireblue DOT com Date: Wed, 22 Jan 2003 06:44:13 -0500 Message-ID: MIME-Version: 1.0 X-WSS-ID: 12305BD03384122-01-05 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Note-from-DJ: This may be spam Except when you're dealing with more than 10,000 files on a fortune 1000 web portal. Chmoding the whole thing imposes an "oppressive" delay. Darn - hey boss - where's that $300,000 you promised me for commercial deployment software???? What? - you'll talk to me after you get done laying off my co-worker? OH ... OKAY!!!!! Brian Kelly "Steve Fairbairn" @cygwin.com on 01/22/2003 03:57:00 AM Sent by: cygwin-owner AT cygwin DOT com To: cygwin AT cygwin DOT com cc: (bcc: Brian Kelly/WTC1/Empire) Subject: RE: Bug in rm -r with locked files Just a small suggestion, but in order to avoid this problem and keep cross platform compatibility, could you not recursively chmod the files first, then use rm -r (which someone else stated isn't affected) to remove the files. Means the tree has to be parsed twice, but should produce the required results? Steve. -----Original Message----- From: Brian DOT Kelly AT empireblue DOT com [mailto:Brian DOT Kelly AT empireblue DOT com] Subject: Re: Bug in rm -r with locked files use rm -rf in a script and must resort to the native "del" cmd because rm -rf hangs when it encounters a locked file. ******************************************************* This email has originated from Perwill plc (Registration No. 1906964) Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK Tel: +44 (0)1420 545000 Fax: +44 (0)1420 545001 www.perwill.com ******************************************************* Privileged, confidential and/or copyright information may be contained in this email, and is only for the use of the intended addressee. To copy, forward, disclose or otherwise use it in any way if you are not the intended recipient or responsible for delivering to him/her is prohibited. If you receive this email by mistake, please advise the sender immediately, by using the reply facility in your email software. We may monitor the content of emails sent and received via our network for the purposes of ensuring compliance with policies and procedures. This message is subject to and does not create or vary any contractual relationships between Perwill plc and the recipient. ******************************************************* Any opinions expressed in the email are those of the sender and not necessarily of Perwill plc. ******************************************************* This email has been scanned for known viruses using McAfee WebShield 4.5 MR1a ******************************************************* -- 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/ "Empire Health Choice Inc." made the following annotations on 01/22/2003 06:45:33 AM ------------------------------------------------------------------------------ [INFO] -- Access Manager: Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement -- 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/