From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17086 invoked by alias); 23 Apr 2014 20:43:58 -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 17076 invoked by uid 89); 23 Apr 2014 20:43:57 -0000 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 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; Wed, 23 Apr 2014 20:43:56 +0000 Received: from 75-147-126-222-philadelphia.hfc.comcastbusiness.net ([75.147.126.222]:64475 helo=[10.0.0.202]) by server.obj-sys.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1Wd41K-0003pK-Se for cygwin@cygwin.com; Wed, 23 Apr 2014 16:43:54 -0400 Message-ID: <5358260B.90807@obj-sys.com> Date: Wed, 23 Apr 2014 20:43: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: rm -f behavior Content-Type: text/plain; charset=ISO-8859-1; 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/msg00531.txt.bz2 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