Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.17.2
-
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
Attachments
Issue Links
- depends upon
-
HADOOP-4896 hdfs fsck does not load hdfs configuration.
- Closed
- is related to
-
HADOOP-3222 fsck should require superuser privilege
- Closed