Directories created by java.io.File mkdir() end up with 771 permissions rather than with 775. As a result (without any APIs to change permissions or ownership) these directories are not readable by others.
Bug 1208027 seems to indicate that this change was made -- but in fact it has not and 1.1.6 still has 771 instead of 775 -- seems like an easy fix.
Bug 1208027 seems to indicate that this change was made -- but in fact it has not and 1.1.6 still has 771 instead of 775 -- seems like an easy fix.
- duplicates
-
JDK-1263792 java.io: Not relying on umask in open/create/mkdir
- Resolved
- relates to
-
JDK-1208027 java.lang.File makes directories with mode 771
- Closed