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 Message-ID: <281450-220031322205031832@M2W032.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" To: shankar AT cotagesoft DOT com, cygwin AT cygwin DOT com Subject: RE: Bug in rm -r with locked files Date: Wed, 22 Jan 2003 15:50:31 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 22 Jan 2003 20:50:31.0772 (UTC) FILETIME=[E743D1C0:01C2C257] Note-from-DJ: This may be spam Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0MKokZ20124 See if you can find it and get everyone to use it quickly please! ;-) Larry Original Message: ----------------- From: Shankar Unni shankar AT cotagesoft DOT com Date: Wed, 22 Jan 2003 11:17:39 -0800 To: cygwin AT cygwin DOT com Subject: RE: Bug in rm -r with locked files Larry Hall writes: >>Now why was it important to do this "delayed remove" semantics? > [...] the current behavior is meant to combat the "my script/program > deletes the file/directory then tries to recreate it - why isn't the > file/directory deleted when unlink() returns?" issue. Ah. I hate those tools that do that wonderful "create temp file, open it, and unlink it" dance. I'm not convinced that there aren't other ways to "secure the app" that are more friendly and portable.. Thanks, -- Shankar -- 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/