Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Normal Cygwin Behavior? Date: Wed, 6 Dec 2000 15:07:19 -1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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