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

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: <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" <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
X-OriginalArrivalTime: 22 Jan 2003 20:50:31.0772 (UTC) FILETIME=[E743D1C0:01C2C257]
Note-from-DJ: This may be spam
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/

- Raw text -


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