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

Local file system on Linux may create files and directories initially with wider permissions than intended.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • fs

    Description

      As discussed in HADOOP-11321, the local file system implements file and directory creation as a two-step process: create followed by chmod to set the caller's requested permissions. This causes a brief window in which the new file or directory may have wider permissions than what the caller requested. HADOOP-11321 fixed this specifically for Windows as a side effect of fixing a bug in writing to an SMB share. This issue tracks fixing it specifically for Linux.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: