Support Questions
Find answers, ask questions, and share your expertise

Hadoop ACL inheritance not working properly in HDFS sub-files.

Hadoop ACL inheritance not working properly in HDFS sub-files.

New Contributor

I've a default mask permission for a directory "A" as rwx and when sub directories and sub files are getting created either manually or by automatic application, the sub directories are inheriting the exact same permissions as of parent directory "A" but sub files are not inheriting the exact same ACL default mask permission as of Parent directory instead getting "rw" default mask only. 


I've set "dfs.namenode.acls.enabled" and "dfs.namenode.posix.acl.inheritance.enabled" properties to true in HDFS.
property "dfs.umaskmode, fs.permissions.umask-mode" is set to 002.
property "fs.permissions.umask-mode" is set to 000

 

Could anyone please assist me what can I do so that sub files also inherit the same default mask permissions as of parent directory either created manually or by automatic application.


Thanks in advance.

Don't have an account?