This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rm -f behavior


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]