delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/24/13:10:34

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=pYwpvR37mOu634izvgxfZPlcaWZDY3lex0Oggso23xz
Im1MjsXxgeX9lvlCjfudsVyEuPMzt1QyZEXLwz+3dfgR7TvNf/44aT+p5wd1J36+
9QqMFGwFAiq4w8mfOvEwEeW2Bm6F2Ssjd9TcoE0U8QQq+CjyVXDNaR6H0jx3gVyQ
=
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=wvG8WuR7lc3XvanEDSA8MPV/4Fc=; b=JBKPazTQwm6oIYRRl
c1KGlJlpxVDpkc8Brv+7nJAX3GCJiwZOFVGX00W99gDUPZsPiv+6P2hvDe35ri85
+zdRMpBkEbD64vkih6LSN7tTfk4/68cxe3EAckQv7p0QN3aieiNnqGZUnPRamrmL
4Zsjg0qHXoIu92t0K+1yUk5OZY=
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=2.6 required=5.0 tests=AWL,BAYES_40,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: server.obj-sys.com
Message-ID: <53594577.8040903@obj-sys.com>
Date: Thu, 24 Apr 2014 13:10:15 -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>
In-Reply-To: <20140424163624.GU2339@calimero.vinschen.de>
X-Get-Message-Sender-Via: server.obj-sys.com: authenticated_id: dcoup AT obj-sys DOT com
X-IsSubscribed: yes

If it's any help, the same type of behavior happens when trying to do 
"cp -f" when the target exists and has a permission mask of 444.  cp 
might be trying to do an rm first.

Regards,

Doug Coup

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/24/2014 12:36 PM, Corinna Vinschen wrote:
> On Apr 24 11:34, Douglas Coup wrote:
>> If I do "which rm" and "which chmod", it shows that both commands
>> resolve to the Cygwin binaries.
>>
>> The attached rm.notworking.trace file is from an "rm -f dac.txt"
>> command that gets the permission denied error; i.e., when the
>> permissions on the file are 444.  Things seem to start going south
>> at entry 34276.
> Gosh, how many ways to fail does transactional NTFS know?
>
>>     20   34002 [main] rm 7580 unlink_nt: Trying to delete \??\C:\mydocs\temp\dac.txt, isdir = 0
>>    274   34276 [main] rm 7580 unlink_nt: Opening \??\C:\mydocs\temp\dac.txt for removing R/O failed, status = 0xC0190052
> So you're getting a transaction error which isn't covered by the Cygwin
> DLL yet.  The error is STATUS_TRANSACTIONMANAGER_NOT_ONLINE.  Whatever
> this means.  How on earth can the TxF manager be "not online"?!?
> Unfortunately there's only very sparse information about this status
> code available.
>
> Before I make any changes to Cygwin, I'll try to get some info from
> the Microsoft side of things...
>
>
> Stay tuned,
> 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