www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <003b01c05fea$0c4246f0$0100a8c0@SOUTHPARK.local> |
From: | "Warren Togami" <warren AT togami DOT com> |
To: | <cygwin AT sources DOT redhat DOT com> |
Subject: | Normal Cygwin Behavior? |
Date: | Wed, 6 Dec 2000 15:07:19 -1000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
I'm using NTFS on Windows 2000 and ntsec on latest Cygwin. I create a directory "temp" and chmod to 000. The following Java code prints "false" on Linux and Solaris machines. import java.io.*; public class Test { public static void main(String[] arg) { File dir = new File("temp"); System.out.println(dir.canRead()); } } However it prints "true" under Cygwin. Is this normal and expected behavior under Cygwin? -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |