delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/23/16:44:14

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
:content-type:content-transfer-encoding; q=dns; s=default; b=Thk
BZ90fX1kCefWkPX27ORuupzAsLEVEwt/FTWbjYlPlD3OvoJDsDPtBkz3MCXceFZn
2w8nnMt/dH+mrMxx7PUmYcdVpcDeAZwkeUOIKtWmYTALorqmk896g5Fbl08fxKht
cExx0G8myxbWfk2qTru0ngRDEr/Ne8uhcyJsX9bs=
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
:content-type:content-transfer-encoding; s=default; bh=s+KPSLfHl
qgzeQycsdRtUcPFY0M=; b=GRCzdPKUihf8v+/PMP2G5oJKvuW30jePppsLTk9cv
rlRFlwntwodmKYByqRy3GRVl1v4j3sOjkWbqMSq0HLMEQ6itmoT+6+lUkqGEz9ld
hun8dilK8zSUILxoJuY/XDr5O/LPQdH3R8RlFtOCqHhvXVjBko42O4C1mM9YaDqH
1c=
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: Yes, score=6.4 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: server.obj-sys.com
Message-ID: <5358260B.90807@obj-sys.com>
Date: Wed, 23 Apr 2014 16:43:55 -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: rm -f behavior
X-Get-Message-Sender-Via: server.obj-sys.com: authenticated_id: dcoup AT obj-sys DOT com
X-IsSubscribed: yes

I run Cygwin on a Windows 8.1 workstation.

I just recently started noticing that the following sequence doesn't work:

$ touch dac.txt
$ chmod 444 dac.txt
$ rm -f dac.txt

The rm -f command gets a permission denied error.  This just started 
happening recently, and I'm thinking it's because of an update to Windows.

If I do chmod u+w dac.txt before the rm -f command, then the command works.

The same sequence executed on a different machine that runs Windows 7 
and hasn't been updated in a while works fine.  And it used to work fine 
on my workstation.

Is anyone else seeing this behavior?

-- 
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


--
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