瀏覽代碼

HDFS-13950. ACL documentation update to indicate that ACL entries are capped by 32. Contributed by Adam Antal.

Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Adam Antal 6 年之前
父節點
當前提交
cc2babc1f7
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsPermissionsGuide.md

+ 2 - 0
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