Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
HDFS ACLs (HDFS-4685)
-
None
-
Reviewed
Description
The current implementation persists and ACL bit in FSImage and editlogs. Moreover, the security decisions also depend on whether the bit is set.
The problem here is that we have to maintain the implicit invariant, which is the ACL bit is set if and only if the the inode has AclFeature. The invariant has to be maintained everywhere otherwise it can lead to a security vulnerability. In the worst case, an attacker can toggle the bit and bypass the ACL checks.
The jira proposes to treat the ACL bit as a transient bit. The bit should not be persisted onto the disk, neither it should affect any security decisions.
Attachments
Attachments
Issue Links
- is depended upon by
-
HDFS-5933 Optimize the FSImage layout for ACLs
- Resolved
- is related to
-
HADOOP-10354 TestWebHDFS fails after merge of HDFS-4685 to trunk
- Closed
-
HADOOP-10361 Correct alignment in CLI output for ACLs.
- Closed
-
HDFS-5621 NameNode: add indicator in web UI file system browser if a file has an ACL.
- Resolved
-
HDFS-7384 'getfacl' command and 'getAclStatus' output should be in sync
- Closed
- is required by
-
HDFS-5932 Ls should display the ACL bit
- Resolved
-
HDFS-5937 Fix TestOfflineEditsViewer on HDFS-4685 branch.
- Resolved
- relates to
-
HDFS-4685 Implementation of ACLs in HDFS
- Closed