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

failure to set sticky bit regression on branch-trunk-win

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk-win
    • Fix Version/s: trunk-win
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The problem is visible by running TestDFSShell#testFilePermissions. The test fails on trying to set sticky bit. The problem is that branch-trunk-win accidentally merged in a branch-1 change in RawLocalFileSystem#setPermission to call FileUtil#setPermission, which sets permissions using Java File API. There is no way to set sticky bit through this API. We need to switch back to the trunk implementation of RawLocalFileSystem#setPermission, which uses either native code or a shell call to external chmod.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: