X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0	tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: Re: EXTERNAL: Virus that deletes everything under c:/cygwin?
Date: Wed, 30 Mar 2011 10:27:43 +0200
Lines: 16
Message-ID: <imupi5$irp$1@dough.gmane.org>
References: <4D90B414.4040605@lmco.com> <468547.38757.qm@web52801.mail.re2.yahoo.com> <ims7q0$9pv$1@dough.gmane.org> <4D91E2A5.80806@gmail.com> <imsu3n$qjb$1@dough.gmane.org> <20110329153533.GA17260@ednor.casa.cgf.cx>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Christopher Faylor (Tue, 29 Mar 2011 11:35:33 -0400)
> On Tue, Mar 29, 2011 at 05:33:05PM +0200, Thorsten Kampe wrote:
> >* Dave Korn (Tue, 29 Mar 2011 14:46:13 +0100)
> >> On 29/03/2011 10:12, Thorsten Kampe wrote:
> >> As for "rm", it already does kind-of have safeguards against this, and
> >> that's what the -f option is for - it turns them off.
> >
> >As far as I know "-f" is already the default...
> 
> If you're saying that "-f" is always active when you type "rm" then, no
> that is not true.

I'm saying that "ignore nonexistent files, never prompt" is the default 
behaviour if you're running plain unaliased /usr/bin/rm.exe.

Thorsten


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

