This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cygwin fails to change executable bit in some cases
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 16 Oct 2019 16:42:48 -0700 (PDT)
- Subject: Cygwin fails to change executable bit in some cases
Setup:
mkdir /cygdrive/c/sun
cd /cygdrive/c/sun
# create "mon.txt" using Windows "New", "Text Document"
Running these commands under Windows 8 yields expected results:
$ test -x mon.txt && echo x || echo not x
x
$ chmod -x mon.txt
$ test -x mon.txt && echo x || echo not x
not x
However running the same commands under Windows 7 yields unexpected results:
$ test -x mon.txt && echo x || echo not x
x
$ chmod -x mon.txt
$ test -x mon.txt && echo x || echo not x
x
--
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