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]

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


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