HDFS-6962: When Creating Directories In HDFS With Default ACLs, The Sub-directories Are Not Following POSIX Conventions
Last updated on SEPTEMBER 10, 2015
Applies to:Big Data Appliance Integrated Software - Version 4.2.0 and later
Information in this document applies to any platform.
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"
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms