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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk-win
    • trunk-win
    • fs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: