From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20401 invoked by alias); 25 Apr 2014 18:12:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20388 invoked by uid 89); 25 Apr 2014 18:12:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: server.obj-sys.com Received: from server.obj-sys.com (HELO server.obj-sys.com) (74.50.121.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 25 Apr 2014 18:12:00 +0000 Received: from 75-147-126-222-philadelphia.hfc.comcastbusiness.net ([75.147.126.222]:58866 helo=[10.0.0.202]) by server.obj-sys.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WdkbO-0006WI-Sr for cygwin@cygwin.com; Fri, 25 Apr 2014 14:11:59 -0400 Message-ID: <535AA56F.40501@obj-sys.com> Date: Fri, 25 Apr 2014 18:12:00 -0000 From: Douglas Coup User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: rm -f behavior References: <5358260B.90807@obj-sys.com> <20140424142304.GT2339@calimero.vinschen.de> <53592F15.4040309@obj-sys.com> <20140424163624.GU2339@calimero.vinschen.de> <20140425121614.GB5666@calimero.vinschen.de> <535A6FF9.90004@obj-sys.com> <20140425145036.GE5666@calimero.vinschen.de> <535A7F9B.5020804@obj-sys.com> <20140425154702.GH5666@calimero.vinschen.de> In-Reply-To: <20140425154702.GH5666@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Get-Message-Sender-Via: server.obj-sys.com: authenticated_id: dcoup@obj-sys.com X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00582.txt.bz2 Objective Systems, Inc. REAL WORLD ASN.1 AND XML SOLUTIONS Tel: +1 (484) 875-9841 Fax: +1 (484) 875-9830 Toll-free: (877) 307-6855 (USA only) http://www.obj-sys.com On 4/25/2014 11:47 AM, Corinna Vinschen wrote: > > Please don't top-post. Thanks. > > > On Apr 25 11:30, Douglas Coup wrote: >> I downloaded the x86/cygwin-inst-20140425.tar.xz file. I assume all >> I need to do is run tar xvf against this file? From the output it >> certainly looked like it installed the files. > No. Just download the DLL and only install the DLL in place of the old > DLL. Installing the tar inst file under Cygwin doesn't effectively > replace the Cygwin DLL. You should exit all(!) Cygwin processes, mopve > the release DLL out of the way, and move the new DLL in place. Good shooting, Corinna. The problem has gone away with the new DLL. > >> But I'm not seeing any difference. I'm still seeing the permission >> denied error on rm -f in the scenarios I've described. >> >> Incidentally, the sequence below should have nothing to do with Perforce. >> >> $ touch dac.txt >> $ chmod 444 dac.txt >> $ rm -f dac.txt >> >> This is being done completely outside of any Perforce workspaces. > Sorry, this isn't helpful. Make sure you're *really* using the correct > Cygwin DLL from the snapshot (uname -a), and if the above sequence > really fails to work, first call `attrib dac.txt' before calling rm to > see if the R/O attribute is set, then call rm under strace again and > send the strace. Also, if the R/O attribute gets set in the above > sequence, I have to know where it comes from. As I said, Cygwin does > not set the flag at all for normal files, not even in chmod. > > > Corinna > -- 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