HDFS-6962: When Creating Directories In HDFS With Default ACLs, The Sub-directories Are Not Following POSIX Conventions
(Doc ID 2054214.1)
Last updated on DECEMBER 19, 2019
Applies to:Big Data Appliance Integrated Software - Version 4.2.0 and later
Generic (Platform Independent)
HDFS ACLs are including umask when calculating new ACL directories. With default ACLs defined, the sub-directory or files within the directory are not getting set with the expected permissions.
Running as user test, belonging to group test, on a directory owned by hdfs:hdfs with default ACLs defined:
$ hadoop fs -getfacl /user/test/data
# file: /user/test/data
# owner: hdfs
# group: hdfs
With the current umask property configured for the HDFS client (gateway) in /etc/hadoop/conf/hdfs-site.xml:
Effective permissions are incorrect with "r-x" due to mask being set "r-x"
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document