Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11347

RawLocalFileSystem#mkdir and create should honor umask

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Incompatible change

      Description

      The FileSystem and FileContext APIs are inconsistent in enforcement of umask for newly created directories. FileContext utilizes configuration property fs.permissions.umask-mode and runs a separate chmod call to guarantee bypassing the process umask. This is the expected behavior for Hadoop as discussed in the documentation of fs.permissions.umask-mode. For the equivalent FileSystem APIs, it does not use fs.permissions.umask-mode. Instead, the permissions end up getting controlled by the process umask.

        Attachments

        1. HADOOP-11347.001.patch
          14 kB
          Varun Saxena
        2. HADOOP-11347.002.patch
          18 kB
          Varun Saxena
        3. HADOOP-11347.004.patch
          9 kB
          Varun Saxena
        4. HADOOP-11347.03.patch
          15 kB
          Varun Saxena
        5. HADOOP-11347.05.patch
          9 kB
          Varun Saxena

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              varun_saxena Varun Saxena Assign to me
              Reporter:
              cnauroth Chris Nauroth

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment