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

Reply via email to