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

Permission checking in fsck

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.17.2
    • 0.21.0
    • None
    • None
    • Incompatible change, Reviewed
    • 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 Sze
        2. 4268_20081218.patch
          18 kB
          Tsz-wo Sze
        3. 4268_20081218b.patch
          26 kB
          Tsz-wo Sze
        4. 4268_20081230.patch
          23 kB
          Tsz-wo Sze
        5. HADOOP-4268-0_20.2.patch
          23 kB
          Jitendra Nath Pandey

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              knoguchi Koji Noguchi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: