This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Bug in rm -r with locked files
- 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
- Date: Wed, 22 Jan 2003 15:50:31 -0500
- Subject: RE: Bug in rm -r with locked files
- Reply-to: lhall at rfk dot com
See if you can find it and get everyone to use it quickly
please! ;-)
Larry
Original Message:
-----------------
From: Shankar Unni shankar@cotagesoft.com
Date: Wed, 22 Jan 2003 11:17:39 -0800
To: cygwin@cygwin.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/