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: <001301c2b382$96c6b340$e71d1897@bonz> From: "Bonzini" To: "Max Bowsher" , "Robert Mecklenburg" Cc: "Cygwin Users List" References: <200301031627 DOT h03GRTRQ020947 AT wolf DOT cimsoft DOT com> <031401c2b34f$67eb5720$9783883e AT pomello> Subject: Re: sed -i problem? Date: Sat, 4 Jan 2003 00:48:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 > I did a quick bit of strace-ing, and it seems that sed isn't closing the > input and output files before doing the rename. Unsurprisingly, this fails > with "Access is denied.". Ok, that's enough for me to track the problem. It is a bug, simply it does not show up on Unix which is a lot more permissive in this regard. Paolo -- 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/