public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* B20.1: test -w always returns false
@ 2000-01-18  1:38 Kevin Wright
  2000-01-18 15:20 ` Michael Hirmke
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Wright @ 2000-01-18  1:38 UTC (permalink / raw)
  To: cygwin

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

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.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: B20.1: test -w always returns false
  2000-01-18  1:38 B20.1: test -w always returns false Kevin Wright
@ 2000-01-18 15:20 ` Michael Hirmke
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Hirmke @ 2000-01-18 15:20 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-01-18 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-18  1:38 B20.1: test -w always returns false Kevin Wright
2000-01-18 15:20 ` Michael Hirmke

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).