java.io.File mkdir makes directories with mode 771 - should be 775

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.1.5, 1.1.6
    • Component/s: core-libs
    • None
    • generic
    • generic

      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.

            Assignee:
            Mark Reinhold
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: