Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hdfs ACL inheritance

Highlighted

hdfs ACL inheritance

Contributor

Umask 002

hdfs folder created with Recursivlely 770 and underlying folders are inherting 770 and files permissions are set to rw-rw---- which is expected

but when checking ACL on files its showing errors effectve can someone check below example

Directory files and acls inherited correctly

drwxrwx---+ - svc_ingest_t supergroup 0 2019-01-28 19:31 /test/abc/dlk/data/abc/abcd/tmp_umask_002 /test/abc/dlk/data/abc/abcd/tmp_umask_002

# owner: svc_ingest_t

# group: supergroup

user::rwx user:hive:rwx group::rwx

group:g_app_cdht_ingt_ba:r-x

group:g_app_cdht_ingt_bu:rwx

group:g_app_cdht_ingt_du:r-x

group:hive:rwx mask::rwx

other::--- default:user::rwx

default:user:hive:rwx

default:group::rwx

default:group:g_app_cdht_ingt_ba:r-x

default:group:g_app_cdht_ingt_bu:rwx

default:group:g_app_cdht_ingt_du:r-x

default:group:hive:rwx

default:mask::rwx

default:other::---

File ACLs not inherited correctly

-rw-rw----+ 3 svc_ingest_t supergroup 13 2019-01-28 19:31 /test/abc/dlk/data/abc/acas/tmp_umask_002/tmp_umask_002.txt#123456_654321

# owner: svc_ingest_t

# group: supergroup

user::rw- user:hive:rwx #effective:rw-

group::rwx #effective:rw-

group:g_app_cdht_ingt_ba:r-x #effective:r--

group:g_app_cdht_ingt_bu:rwx #effective:rw-

group:g_app_cdht_ingt_du:r-x #effective:r--

group:hive:rwx #effective:rw- mask::rw- other::---

Don't have an account?
Coming from Hortonworks? Activate your account here