This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Bug in rm -r with locked files


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" <steve.fairbairn@perwill.com>@cygwin.com on 01/22/2003
03:57:00 AM

Sent by:    cygwin-owner@cygwin.com


To:    cygwin@cygwin.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.Kelly@empireblue.com [mailto:Brian.Kelly@empireblue.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]