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: "Shankar Unni" cc: "'Max Bowsher'" , cygwin AT cygwin DOT com From: Brian DOT Kelly AT empireblue DOT com Date: Tue, 21 Jan 2003 14:59:23 -0500 Message-ID: MIME-Version: 1.0 X-WSS-ID: 1233796D3347766-01-07 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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" @cygwin.com on 01/21/2003 02:47:54 PM Sent by: cygwin-owner AT cygwin DOT com To: "'Max Bowsher'" , 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/