B20.1: test -w always returns false

Michael Hirmke mh@mike.franken.de
Tue Jan 18 15:20:00 GMT 2000

Hi Kevin,

>I've just upgraded from build 17 to build 20.1 and am disappointed as to the
>number of bugs introduced.

At least the thing you mentioned below isn't a bug - it is by design :)

>Try the following from bash or sh
>touch newfile
>chmod +w newfile
>test -w newfile && echo OK
># no response
>chmod -w newfile
>test -w newfile && echo OK
>#no response (as expected)
>I'm running NT4 SP5.

If you want this to work (nearly) as expected try to upgrade to Cygwin
1.0 or a newer snapshot and set CYGWIN=ntsec!

Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://aquarius.franken.de/

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list