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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 1.1.5, 1.1.6
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mr Mark Reinhold
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: