This is the mail archive of the
mailing list for the Cygwin project.
rm -f behavior
- From: Douglas Coup <dcoup at obj-sys dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 23 Apr 2014 16:43:55 -0400
- Subject: rm -f behavior
- Authentication-results: sourceware.org; auth=none
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)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple