delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/25/14:12:17

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=Ys+hTHaxqB7yxFV+nl8AzPj41edM3JhjyZJseMr/j8p
aiGzoa0ni0X6WiL0Hrb03mRwmolHZAXVCm8+y9kWZ3gQalN+YZsAfayYfiQb9Z2b
r2hw4Ipj9knbLp1rT5b/teavuAN/UhV07XJgmekZwwN0m/vEk9ue7IcxM03G9L/M
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=HZ0wSqlRRzkZ6f7XFBDLhQtEfaY=; b=tWFbbBzWlkFBxTZRn
s5n98wiHGPZRK2LaZqRU+zFMLHZhx8s8X1XNCuxw6kUID6/svSmyoWhP6LBysLJK
fqoGeBm5dW92Iyp8Kj7Euo/BDN3XOoVmXF1QFhaDxyd2e2UkJVNg9Gn31e9hCinz
b/jH5mWo8hAij5mo/MmVtt8hDs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
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
Message-ID: <535AA56F.40501@obj-sys.com>
Date: Fri, 25 Apr 2014 14:11:59 -0400
From: Douglas Coup <dcoup AT obj-sys DOT com>
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 AT cygwin DOT com
Subject: Re: rm -f behavior
References: <5358260B DOT 90807 AT obj-sys DOT com> <20140424142304 DOT GT2339 AT calimero DOT vinschen DOT de> <53592F15 DOT 4040309 AT obj-sys DOT com> <20140424163624 DOT GU2339 AT calimero DOT vinschen DOT de> <20140425121614 DOT GB5666 AT calimero DOT vinschen DOT de> <535A6FF9 DOT 90004 AT obj-sys DOT com> <20140425145036 DOT GE5666 AT calimero DOT vinschen DOT de> <535A7F9B DOT 5020804 AT obj-sys DOT com> <20140425154702 DOT GH5666 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140425154702.GH5666@calimero.vinschen.de>
X-Get-Message-Sender-Via: server.obj-sys.com: authenticated_id: dcoup AT obj-sys DOT com
X-IsSubscribed: yes

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

- Raw text -


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