<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question HDFS ACL Inheritance doesn't work in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-ACL-Inheritance-doesn-t-work/m-p/53239#M58972</link>
    <description>&lt;P&gt;Hi All&lt;BR /&gt;How do i ensure that the child dir and files created by a member of a group having rwx permissions on hdfs have the same rwx permission as parent?&lt;BR /&gt;I tried chmod and acls both as suggested by apache and cloudera. All the new dirs created by a user in a group having permission to write are still having the r-x permissions instead of rwx which i want.&lt;BR /&gt;I have also enabled dfs.namenode.posix.acl.inheritance.enabled to true and dfs.permissions also to true as mentioned in &lt;A href="https://issues.apache.org/jira/browse/HDFS-6962" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-6962&lt;/A&gt;.&lt;BR /&gt;fs.permissions.umask-mode=000&lt;BR /&gt;dfs.umaskmode, fs.permissions.umask-mode=022&lt;/P&gt;&lt;P&gt;[root@dev ~]# id abhig&lt;BR /&gt;uid=515(abhig) gid=519(abhig) groups=519(abhig),525(low_priority),528(devgrp)&lt;BR /&gt;********************************************&lt;BR /&gt;[abhig@dev ~]$ hdfs dfs -setfacl -m default:group:devgrp:rwx /test&lt;BR /&gt;[abhig@dev ~]$ hdfs dfs -getfacl /test&lt;BR /&gt;# file: /test&lt;BR /&gt;# owner: abhig&lt;BR /&gt;# group: devgrp&lt;BR /&gt;user::rwx&lt;BR /&gt;group::r-x&lt;BR /&gt;other::r-x&lt;BR /&gt;default:user::rwx&lt;BR /&gt;default:group::r-x&lt;BR /&gt;default:group:devgrp:rwx&lt;BR /&gt;default:mask::rwx&lt;BR /&gt;default:other::r-x&lt;BR /&gt;********************************************&lt;BR /&gt;[abhig@dev ~]$ hdfs dfs -mkdir /test/tst1&lt;BR /&gt;[abhig@dev ~]$ hdfs dfs -getfacl /test/tst1&lt;BR /&gt;# file: /test/tst1&lt;BR /&gt;# owner: abhig&lt;BR /&gt;# group: devgrp&lt;BR /&gt;user::rwx&lt;BR /&gt;group::r-x&lt;BR /&gt;group:devgrp:rwx #effective:r-x&lt;BR /&gt;mask::r-x&lt;BR /&gt;other::r-x&lt;BR /&gt;default:user::rwx&lt;BR /&gt;default:group::r-x&lt;BR /&gt;default:group:devgrp:rwx&lt;BR /&gt;default:mask::rwx&lt;BR /&gt;default:other::r-x&lt;BR /&gt;*********************************************&lt;/P&gt;&lt;P&gt;This doesn't help much&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Storage-Random-Access-HDFS/HDFS-ACL-Inheritance/m-p/25494#M1092" target="_blank"&gt;https://community.cloudera.com/t5/Storage-Random-Access-HDFS/HDFS-ACL-Inheritance/m-p/25494#M1092&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give a workaround if any.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2017 20:51:55 GMT</pubDate>
    <dc:creator>ABaaya</dc:creator>
    <dc:date>2017-04-05T20:51:55Z</dc:date>
    <item>
      <title>HDFS ACL Inheritance doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-ACL-Inheritance-doesn-t-work/m-p/53239#M58972</link>
      <description>&lt;P&gt;Hi All&lt;BR /&gt;How do i ensure that the child dir and files created by a member of a group having rwx permissions on hdfs have the same rwx permission as parent?&lt;BR /&gt;I tried chmod and acls both as suggested by apache and cloudera. All the new dirs created by a user in a group having permission to write are still having the r-x permissions instead of rwx which i want.&lt;BR /&gt;I have also enabled dfs.namenode.posix.acl.inheritance.enabled to true and dfs.permissions also to true as mentioned in &lt;A href="https://issues.apache.org/jira/browse/HDFS-6962" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-6962&lt;/A&gt;.&lt;BR /&gt;fs.permissions.umask-mode=000&lt;BR /&gt;dfs.umaskmode, fs.permissions.umask-mode=022&lt;/P&gt;&lt;P&gt;[root@dev ~]# id abhig&lt;BR /&gt;uid=515(abhig) gid=519(abhig) groups=519(abhig),525(low_priority),528(devgrp)&lt;BR /&gt;********************************************&lt;BR /&gt;[abhig@dev ~]$ hdfs dfs -setfacl -m default:group:devgrp:rwx /test&lt;BR /&gt;[abhig@dev ~]$ hdfs dfs -getfacl /test&lt;BR /&gt;# file: /test&lt;BR /&gt;# owner: abhig&lt;BR /&gt;# group: devgrp&lt;BR /&gt;user::rwx&lt;BR /&gt;group::r-x&lt;BR /&gt;other::r-x&lt;BR /&gt;default:user::rwx&lt;BR /&gt;default:group::r-x&lt;BR /&gt;default:group:devgrp:rwx&lt;BR /&gt;default:mask::rwx&lt;BR /&gt;default:other::r-x&lt;BR /&gt;********************************************&lt;BR /&gt;[abhig@dev ~]$ hdfs dfs -mkdir /test/tst1&lt;BR /&gt;[abhig@dev ~]$ hdfs dfs -getfacl /test/tst1&lt;BR /&gt;# file: /test/tst1&lt;BR /&gt;# owner: abhig&lt;BR /&gt;# group: devgrp&lt;BR /&gt;user::rwx&lt;BR /&gt;group::r-x&lt;BR /&gt;group:devgrp:rwx #effective:r-x&lt;BR /&gt;mask::r-x&lt;BR /&gt;other::r-x&lt;BR /&gt;default:user::rwx&lt;BR /&gt;default:group::r-x&lt;BR /&gt;default:group:devgrp:rwx&lt;BR /&gt;default:mask::rwx&lt;BR /&gt;default:other::r-x&lt;BR /&gt;*********************************************&lt;/P&gt;&lt;P&gt;This doesn't help much&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Storage-Random-Access-HDFS/HDFS-ACL-Inheritance/m-p/25494#M1092" target="_blank"&gt;https://community.cloudera.com/t5/Storage-Random-Access-HDFS/HDFS-ACL-Inheritance/m-p/25494#M1092&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give a workaround if any.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 20:51:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-ACL-Inheritance-doesn-t-work/m-p/53239#M58972</guid>
      <dc:creator>ABaaya</dc:creator>
      <dc:date>2017-04-05T20:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS ACL Inheritance doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-ACL-Inheritance-doesn-t-work/m-p/53821#M58973</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Changing default umask through cloudera manager properties of HDFS from 022 to 002 helped out to get child dir inherit the permissions from parent dir.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 17:11:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-ACL-Inheritance-doesn-t-work/m-p/53821#M58973</guid>
      <dc:creator>ABaaya</dc:creator>
      <dc:date>2017-04-18T17:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS ACL Inheritance doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-ACL-Inheritance-doesn-t-work/m-p/63010#M58974</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;if we change umask&amp;nbsp;mode to 002 from 022 will fix this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is there any version dependency&lt;/STRONG&gt;?&amp;nbsp;currently, we are in 5.9.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is for the directory, seems we are forcing to give write permissions&amp;nbsp;to group by changing to 002?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;directory:&lt;/P&gt;&lt;P&gt;022 - rwxr-xr-x&amp;nbsp;&lt;/P&gt;&lt;P&gt;002 - rwxrwxr-w&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File:&lt;/P&gt;&lt;P&gt;022- rw-r--r--&lt;/P&gt;&lt;P&gt;002 - rw-rw-r--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how much ACL on directory looks like, i have few groups that need only r-x, if we keep 002 will it get changed to rwx for group?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hdfs dfs -getfacl /test/ky/val/claim/version=xx/&lt;BR /&gt;# file: /test/ky/val/claim/version=xx&lt;BR /&gt;# owner: svc_ingest_t&lt;BR /&gt;# group: supergroup&lt;BR /&gt;user::rwx&lt;BR /&gt;user:hive:rwx&lt;BR /&gt;group::rwx&lt;BR /&gt;group:g_ingt_ba:r-x&lt;BR /&gt;group:g_ingt_bu:rwx&lt;BR /&gt;group:g_ingt_du:r-x&lt;BR /&gt;group:hive:rwx&lt;BR /&gt;mask::rwx&lt;BR /&gt;other::---&lt;BR /&gt;default:user::rwx&lt;BR /&gt;default:user:hive:rwx&lt;BR /&gt;default:group::rwx&lt;BR /&gt;default:group:g_ingt_ba:r-x&lt;BR /&gt;default:group:g_ingt_bu:rwx&lt;BR /&gt;default:group:g_du:r-x&lt;BR /&gt;default:group:hive:rwx&lt;BR /&gt;default:mask::rwx&lt;BR /&gt;default:other::---&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 16:49:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-ACL-Inheritance-doesn-t-work/m-p/63010#M58974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-22T16:49:48Z</dc:date>
    </item>
  </channel>
</rss>

