delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/18/18:19:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: 19 Jan 2000 00:13:00 +0200
From: mh AT mike DOT franken DOT de (Michael Hirmke)
To: cygwin AT sourceware DOT cygnus DOT com
Message-ID: <7X92igSppfB@mike.franken.de>
In-Reply-To: <NDBBIBEHNKCJHEABEKOHKEDOCBAA.kwright@uk.mdis.com>
Subject: Re: B20.1: test -w always returns false
X-Mailer: CrossPoint v3.12d R/C9763
MIME-Version: 1.0
Organization: Kommunikationsnetz Franken e.V. (Nuernberg)
x-copyright: All rights reserved. Unauthorized copying, forwarding or publishing prohibited.
x-irc-nick: nobanzai
x-no-archive: yes

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 AT mike DOT franken DOT de
                         | WWW     http://aquarius.franken.de/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019