public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin fails to change executable bit in some cases
@ 2019-10-16 23:42 Steven Penny
  0 siblings, 0 replies; only message in thread
From: Steven Penny @ 2019-10-16 23:42 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-16 23:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-16 23:42 Cygwin fails to change executable bit in some cases Steven Penny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).