Duplicate :
|
|
Relates :
|
Given a policy file: grant { permission java.io.FilePermission "goober", "read,write,delete"; } then an attempt to do: new File("GooBer").mkdir(); under Windows, when the directory does not yet exist, will result in a security exception, because FilePermission uses getCanonicalPath, which does not canonicalize case for nonexistent files and directories.
|