Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
when calling setPermission and permission parameter is null, a NullPointerException will occurs. According to the official manual, the method doesn't say that the parameter is not empty. when without the permission parameter the mode of new directory is P & ^umask & 0777 and the mode of the new file is P & ^umask & 0666