Duplicate :
|
Both File.canRead() and File.canWrite() ignore DACL information for NTFS partitions on Win32 systems. This can cause canRead()/canWrite() to incorrectly return true if a file is readable/writeable according to its attributes but not according to its DACL.
|