HDFS-13950. ACL documentation update to indicate that ACL entries are capped by 32. Contributed by Adam Antal.
Signed-off-by: Wei-Chiu Chuang <weic...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/cc2babc1 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/cc2babc1 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/cc2babc1 Branch: refs/heads/HEAD Commit: cc2babc1f75c93bf89a8f10da525f944c15d02ea Parents: 396ce0d Author: Adam Antal <adam.an...@cloudera.com> Authored: Thu Oct 4 15:20:41 2018 -0700 Committer: Wei-Chiu Chuang <weic...@apache.org> Committed: Thu Oct 4 15:22:44 2018 -0700 ---------------------------------------------------------------------- .../hadoop-hdfs/src/site/markdown/HdfsPermissionsGuide.md | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/cc2babc1/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsPermissionsGuide.md ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsPermissionsGuide.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsPermissionsGuide.md index 82b5cec..a4a3b7d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsPermissionsGuide.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsPermissionsGuide.md @@ -221,6 +221,8 @@ Note that the copy occurs at time of creation of the new file or sub-directory. The default ACL must have all minimum required ACL entries, including the unnamed user (file owner), unnamed group (file group) and other entries. If the user doesn't supply one of these entries while setting a default ACL, then the entries are inserted automatically by copying the corresponding permissions from the access ACL, or permission bits if there is no access ACL. The default ACL also must have mask. As described above, if the mask is unspecified, then a mask is inserted automatically by calculating the union of permissions on all entries that would be filtered by the mask. +Note that you can not have unlimited amount of ACL entries for a given file or directory. The maximum number is 32 for access and 32 for default entries which is 64 in total. + When considering a file that has an ACL, the algorithm for permission checks changes to: * If the user name matches the owner of file, then the owner --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org