Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4124477

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1.5, 1.1.6
    • 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.

            mr Mark Reinhold
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: