Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.2
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Fsck now checks permissions as directories are traversed. Any user can now use fsck, but information is provided only for directories the user has permission to read.

      Description

      Quoting from HADOOP-3222 ("fsck should require superuser privilege"),

      I agree that it makes sense to make fsck do permission checking for the nodes that it traverses. If a user does a fsck on files/directories that he/she has access to (using permissions) then that invocation of fsck should be allowed. Since "/" is usually owned by super-user, only super-user should be allowed to run fsck on "/".

        Attachments

        1. 4268_20081217.patch
          15 kB
          Tsz Wo Nicholas Sze
        2. 4268_20081218.patch
          18 kB
          Tsz Wo Nicholas Sze
        3. 4268_20081218b.patch
          26 kB
          Tsz Wo Nicholas Sze
        4. 4268_20081230.patch
          23 kB
          Tsz Wo Nicholas Sze
        5. HADOOP-4268-0_20.2.patch
          23 kB
          Jitendra Nath Pandey

          Issue Links

            Activity

              People

              • Assignee:
                szetszwo Tsz Wo Nicholas Sze
                Reporter:
                knoguchi Koji Noguchi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: