Created on
08-20-2020
08:57 AM
- last edited on
08-20-2020
01:22 PM
by
cjervis
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.