delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/21/15:31:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <323910-22003122120319521@M2W089.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: brian DOT kelly AT empireblue DOT com, cygwin AT cygwin DOT com
Subject: RE: Bug in rm -r with locked files
Date: Tue, 21 Jan 2003 15:31:09 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 21 Jan 2003 20:31:09.0594 (UTC) FILETIME=[0823C7A0:01C2C18C]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0LKVLV31457

OK.  Have you investigated the use of tools I suggested to help you track 
down which utilities are causing you the problem(s)?  That would be a good
start to narrowing down your issue into something this list can discuss,
assuming that's where you'd like to take this.  

Of course, you're always welcome to review the current implementation of 
unlink() to see if you can suggest improvements.  It's worthwhile though 
to review past discussions on this issue to make sure you don't end up 
just rehashing old threads.  But new ideas are always welcome, particularly
if they solve some long-standing problems! ;-)

Larry 

Original Message:
-----------------
From:  Brian DOT Kelly AT empireblue DOT com
Date: Tue, 21 Jan 2003 14:59:23 -0500
To: shankar AT cotagesoft DOT com, maxb AT ukf DOT net, cygwin AT cygwin DOT com
Subject: RE: Bug in rm -r with locked files



Well - even so ....  "my" problem remains ....  The scripts that I have are
written to work cross-platform,
and because I can't use  rm -rf  when telneting to a cygwin box with an
automated telnet/ssh script,
I have to do this nonsense:

if ($telnet_handle->{$hostlabel}->{OS} eq 'cygwin') {
    ($stdout,$stderr)=$telnet_handle->{_cmd_handle}->cmd("cmd /c del /s
$dir");
} else {
    ($stdout,$stderr)=$telnet_handle->{_cmd_handle}->cmd("cmd /c rm -r
$dir");
}

I'd rather not have to do this!!

Brian





"Shankar Unni" <shankar AT cotagesoft DOT com>@cygwin.com on 01/21/2003 02:47:54
PM

Sent by:    cygwin-owner AT cygwin DOT com


To:    "'Max Bowsher'" <maxb AT ukf DOT net>, cygwin AT cygwin DOT com
cc:     (bcc: Brian Kelly/WTC1/Empire)

Subject:    RE: Bug in rm -r with locked files


Max corrected me:

> No. The thing that rm -rf gets stuck on is vim .swp recovery file.

Ah. Sorry. Should have straced the thing before shooting off.


--
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/21/2003 03:00:42 PM
----------------------------------------------------------------------------
--

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


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



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

- Raw text -


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