This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Normal Cygwin Behavior?
- To: <cygwin at sources dot redhat dot com>
- Subject: Normal Cygwin Behavior?
- From: "Warren Togami" <warren at togami dot com>
- Date: Wed, 6 Dec 2000 15:07:19 -1000
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@sourceware.cygnus.com