This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: B20.1: test -w always returns false


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!

Bye.
Michael.
-- 
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


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