<?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 Re: ACLs are enabled and applied but not working in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182417#M144583</link>
    <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/10949/muthukumarsiva.html"&gt;Muthukumar S&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have successfully reproduced as you request "created a different file with &lt;STRONG&gt;abiuser&lt;/STRONG&gt; as owner and &lt;STRONG&gt;dfsusers&lt;/STRONG&gt; as group and add ACL for the group &lt;STRONG&gt;data_team&lt;/STRONG&gt; with just read permission?"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Created file acltest2.txt as user abiuser see contents &lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# su - abiuser
[abiuser@nakuru ~]$ vi acltest2.txt
Could you create different file with abiuser as owner and dfsusers as group and add ACL for the group data_team with just read permission?
Thank you. &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Check the file&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ ls -al
-rw-r--r--   1 abiuser dfsusers  151 Jan 11 13:00 acltest2.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Copied the file to hdfs &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -put  acltest2.txt /abc/month=12 &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Confirmation of file in HDFS note user and group &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -ls  /abc/month=12
Found 2 items
-rw-r--r--   3 abiuser dfsusers        151 2018-01-11 13:00 /abc/month=12/acltest2.txt
-rw-r--r--   3 abiuser dfsusers        249 2018-01-11 12:38 /abc/month=12/file1.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Set the ACL for group data_team [readonly] where usera and userb belong &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -setfacl -m group:data_team:r-- /abc/month=12/acltest2.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Changed to usera &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# su - usera &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Successfully read the file as usera &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[usera@nakuru ~]$ hdfs dfs -cat /abc/month=12/actest2.txt 
Could you create different file with abiuser as owner and dfsusers as group and add ACL for the group data_team with just read permission? Thank you. &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Now lets check the ACL's &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[usera@nakuru ~]$ hdfs dfs -getfacl -R /abc/month=12/ 
# file: /abc/month=12 
# owner: abiuser 
# group: dfsusers 
user::rwx 
group::r-x 
other::r-x 
# file: /abc/month=12/acltest2.txt 
# owner: abiuser 
# group: dfsusers 
user::rw- 
group::r-- 
group:data_team:r-- 
group:dfsusers:r-- 
mask::r-- 
other::r-- 
# file: /abc/month=12/file1.txt 
# owner: abiuser 
# group: dfsusers 
user::rw- 
group::r-- 
other::r--&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that answers your issue where did you encounter the problem is there a step you missed?&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please accept and close this thread&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2018 00:00:54 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-01-12T00:00:54Z</dc:date>
    <item>
      <title>ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182410#M144576</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have enabled ACL on the ambari console and restarted the required services and I'm able to set the permissions for specific group as well. But when they try to execute it is not working. Need your suggestions. My HDP version is 2.4 and hadoop 2.7.&lt;/P&gt;&lt;P&gt;getfacl permission on the folder and file is:&lt;/P&gt;&lt;P&gt;$ hdfs dfs -getfacl -R /abc/month=12/&lt;BR /&gt;# file: /abc/month=12&lt;BR /&gt;# owner: abiuser&lt;BR /&gt;# group: dfsusers&lt;BR /&gt;user::rwx&lt;BR /&gt;group::r-x&lt;BR /&gt;group:data_team:r--&lt;BR /&gt;mask::r-x&lt;BR /&gt;other::---&lt;BR /&gt;default:user::rwx&lt;BR /&gt;default:group::r-x&lt;BR /&gt;default:group:data_team:r-x&lt;BR /&gt;default:mask::r-x&lt;BR /&gt;default:other::---&lt;/P&gt;&lt;P&gt;# file: /abc/month=12/file1.bcsf&lt;BR /&gt;# owner: abiuser&lt;BR /&gt;# group: dfsusers&lt;BR /&gt;user::rwx&lt;BR /&gt;group::r--&lt;BR /&gt;group:data_team:r--&lt;BR /&gt;mask::r--&lt;BR /&gt;other::---&lt;/P&gt;&lt;P&gt;user A and B are part of data_team, when they try to read the file we are getting the below error. &lt;/P&gt;&lt;P&gt;$ hadoop fs -ls /abc/month=12&lt;BR /&gt;ls: Permission denied: user=A, access=EXECUTE, inode="/abc/month=12":abiuser:dfsusers:drwxrwx---&lt;/P&gt;&lt;P&gt;Appreciate any suggestion / help?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 13:11:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182410#M144576</guid>
      <dc:creator>muthukumar_siva</dc:creator>
      <dc:date>2018-01-08T13:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182411#M144577</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/10949/muthukumarsiva.html"&gt;Muthukumar S&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please, could you explain the steps you did?  To reproduce your scenario can you elaborate is user A  and B =abiuser?  what is the relation between dfsusers and data_team.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have implemented numerous variations of permissions and I don't see why this shouldn't work&lt;/EM&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 16:54:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182411#M144577</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-01-08T16:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182412#M144578</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;P&gt;1. ACL feature is enabled by adding the below entry in custom hdfs-site.xml file and restarted the required services from ambari console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;dfs.namenode.acls.enabled&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;2.  I gave sample as A and B user and they have been added to the group data_team (on Linux level), they are not abiuser. abiuser is the owner of the file. dfsusers is the group of that file (/abc/month=12/file1.bcsf). ACL permission added for the group data_team using the below command.&lt;/P&gt;&lt;P&gt;hdfs dfs -setfacl -m -R group:data_team:r-x /abc/month=12/&lt;/P&gt;&lt;P&gt;3. Above setup is done, but still user A and B not able to read or access the files where ACL permission been given.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 17:27:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182412#M144578</guid>
      <dc:creator>muthukumar_siva</dc:creator>
      <dc:date>2018-01-10T17:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182413#M144579</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10949/muthukumarsiva.html" nodeid="10949"&gt;@Muthukumar S&lt;/A&gt;&lt;P&gt;As suggested by Geoffery enable your setting for ACL to make it working. Furthermore,this is the &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_hdfs-administration/content/configuring_acls_hdfs.html"&gt;link&lt;/A&gt; from HDP site regarding ACLs. It covers all basics how to enable, setup and check ACLs on Hadoop.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 18:17:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182413#M144579</guid>
      <dc:creator>sandeepksaini</dc:creator>
      <dc:date>2018-01-10T18:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182414#M144580</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/10949/muthukumarsiva.html"&gt;Muthukumar S&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have tried to reproduce your environment as below. HDP 2.6.2 Ambari 2.5.2, I don't think the version difference is an issue. Created group &lt;STRONG&gt;data_team,dfusers&lt;/STRONG&gt; and users &lt;STRONG&gt;abisuer,usera&lt;/STRONG&gt; and &lt;STRONG&gt;userb&lt;/STRONG&gt;,please try to follow the steps I used to understand and compare with your own. I set the &lt;STRONG&gt;dfs.namenode.acls.enabled&lt;/STRONG&gt; to &lt;STRONG&gt;true&lt;/STRONG&gt; using Ambari which is the recommended way. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Created groups and users&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# groupadd data_team 
[root@nakuru ~]# useradd -G data_team usera 
[root@nakuru ~]# useradd -G data_team userb 
[root@nakuru ~]# groupadd dfsusers 
[root@nakuru ~]# useradd abiuser &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Switched to user &lt;STRONG&gt;abiuser&lt;/STRONG&gt; belonging to group &lt;STRONG&gt;dfsusers&lt;/STRONG&gt; and created a file &lt;STRONG&gt;file1.txt&lt;/STRONG&gt; with the below contents &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# su - abiuser 
[abiuser@nakuru ~]$ vi file1.txt 
/*contents*/
I have enabled ACL on the ambari console and restarted the required services and I'm able to set the permissions for specific group as well. But when they try to execute it is not working. Need your suggestions. My HDP version is 2.4 and hadoop 2.7. &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt; Checked the saved file &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ ls -al 
-rw-r--r-- 1 abiuser abiuser 250 Jan 10 22:24 file1.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Enabled ACL (custom hdfs-site.xml) through Ambari. &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;dfs.namenode.acls.enabled=true &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Restart all stale configs in my case &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;HDFS &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;YARN &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;MapReduces2 &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Atlas &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;As hdfs user created the directory and change ownership and permission &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[hdfs@nakuru ~]$ hdfs dfs -mkdir -p /abc/month=12 
[hdfs@nakuru ~]$ hdfs dfs -chown -R abiuser:dfsusers /abc/month=12 &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Validate the above &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[hdfs@nakuru ~]$ hdfs dfs -ls /abc 
Found 1 items drwxr-xr-x - abiuser dfsusers 0 2018-01-10 22:40 /abc/month=12 &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Copy the file1.txt from local to hdfs &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -put file1.txt /abc/month=12 
[abiuser@nakuru ~]$ hdfs dfs -ls /abc/month=12 
Found 1 items -rw-r--r-- 3 abiuser dfsusers 250 2018-01-10 22:46 /abc/month=12/file1.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Now see the ACL's on the file &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -getfacl -R /abc/month=12/ 
# file: /abc/month=12 
# owner: abiuser 
# group: dfsusers 
user::rwx 
group::r-x 
other::r-x 
# file: /abc/month=12/file1.txt 
# owner: abiuser 
# group: dfsusers 
user::rw- 
group::r-- 
other::r-- &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Now set the ACL rwx for &lt;STRONG&gt;usera&lt;/STRONG&gt; and &lt;STRONG&gt;userb&lt;/STRONG&gt; as the file owner &lt;STRONG&gt;abiuser&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -setfacl -m user:usera:rwx /abc/month=12/file1.txt 
[abiuser@nakuru ~]$ hdfs dfs -setfacl -m user:userb:rwx /abc/month=12/file1.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Validate the above ACL's for the file1.txt &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -getfacl -R /abc/month=12/ 
# file: /abc/month=12 
# owner: abiuser 
# group: dfsusers 
user::rwx 
group::r-x 
other::r-x 
# file: /abc/month=12/file1.txt 
# owner: abiuser 
# group: dfsusers 
user::rw- 
user:usera:rwx 
user:userb:rwx 
group::r-- 
mask::rwx 
other::r-- &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;See if usera can read the file &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# su - usera 
[usera@nakuru ~]$ hdfs dfs -cat /abc/month=12/file1.txt 

I have enabled ACL on the ambari console and restarted the required services and I'm able to set the permissions for specific group as well. But when they try to execute it is not working. Need your suggestions. My HDP version is 2.4 and hadoop 2.7. &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;I get exactly the contents of the file1.txt &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;See if userb can read the file &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# su - userb 
[userb@nakuru ~]$ hdfs dfs -cat /abc/month=12/file1.txt 

I have enabled ACL on the ambari console and restarted the required services and I'm able to set the permissions for specific group as well. But when they try to execute it is not working. Need your suggestions. My HDP version is 2.4 and hadoop 2.7.&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Voila , that answers your question the file owner and group is &lt;STRONG&gt;abiuser:&lt;/STRONG&gt;&lt;STRONG&gt;dfsuser &lt;/STRONG&gt;but&lt;STRONG&gt; usera &lt;/STRONG&gt;and userb&lt;STRONG&gt; &lt;/STRONG&gt;from a different group &lt;STRONG&gt;data_team &lt;/STRONG&gt;can successfully read the&lt;STRONG&gt; file1.txt&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Could you Accept the answer by Clicking on Accept button below, if this answers your problem that would be great help to Community users to find solution quickly.&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6217iC67011E045CAB8DE/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="acl.jpg" title="acl.jpg" /&gt;</description>
      <pubDate>Thu, 11 Jan 2018 06:36:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182414#M144580</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-01-11T06:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182415#M144581</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;First of all thanks for your time and outputs, samething been done with only one difference. I have given acl permission for the group data_team with r-x instead of individual users. In future there will be a requirement for other users to get only read access which I can do by just adding them to the group data_team in Linux. Hope this also should work. Below is the command I have used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hdfs dfs -setfacl -m -R group:data_team:r-x /abc/month=12&lt;/P&gt;&lt;P&gt;Could you create different file with abiuser as owner and dfsusers as group and add ACL for the group data_team with just read permission? &lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 10:29:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182415#M144581</guid>
      <dc:creator>muthukumar_siva</dc:creator>
      <dc:date>2018-01-11T10:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182416#M144582</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/46293/sandeeprhct.html" nodeid="46293"&gt;@Sandeep Kumar&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, I have referred those documents already and set as required. Problem is it is not allowing the user to read the file which got a proper permission in ACL. You may go through my initial postings with the steps.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 10:31:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182416#M144582</guid>
      <dc:creator>muthukumar_siva</dc:creator>
      <dc:date>2018-01-11T10:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182417#M144583</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/10949/muthukumarsiva.html"&gt;Muthukumar S&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have successfully reproduced as you request "created a different file with &lt;STRONG&gt;abiuser&lt;/STRONG&gt; as owner and &lt;STRONG&gt;dfsusers&lt;/STRONG&gt; as group and add ACL for the group &lt;STRONG&gt;data_team&lt;/STRONG&gt; with just read permission?"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Created file acltest2.txt as user abiuser see contents &lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# su - abiuser
[abiuser@nakuru ~]$ vi acltest2.txt
Could you create different file with abiuser as owner and dfsusers as group and add ACL for the group data_team with just read permission?
Thank you. &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Check the file&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ ls -al
-rw-r--r--   1 abiuser dfsusers  151 Jan 11 13:00 acltest2.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Copied the file to hdfs &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -put  acltest2.txt /abc/month=12 &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Confirmation of file in HDFS note user and group &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -ls  /abc/month=12
Found 2 items
-rw-r--r--   3 abiuser dfsusers        151 2018-01-11 13:00 /abc/month=12/acltest2.txt
-rw-r--r--   3 abiuser dfsusers        249 2018-01-11 12:38 /abc/month=12/file1.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Set the ACL for group data_team [readonly] where usera and userb belong &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[abiuser@nakuru ~]$ hdfs dfs -setfacl -m group:data_team:r-- /abc/month=12/acltest2.txt &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Changed to usera &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# su - usera &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Successfully read the file as usera &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[usera@nakuru ~]$ hdfs dfs -cat /abc/month=12/actest2.txt 
Could you create different file with abiuser as owner and dfsusers as group and add ACL for the group data_team with just read permission? Thank you. &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Now lets check the ACL's &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[usera@nakuru ~]$ hdfs dfs -getfacl -R /abc/month=12/ 
# file: /abc/month=12 
# owner: abiuser 
# group: dfsusers 
user::rwx 
group::r-x 
other::r-x 
# file: /abc/month=12/acltest2.txt 
# owner: abiuser 
# group: dfsusers 
user::rw- 
group::r-- 
group:data_team:r-- 
group:dfsusers:r-- 
mask::r-- 
other::r-- 
# file: /abc/month=12/file1.txt 
# owner: abiuser 
# group: dfsusers 
user::rw- 
group::r-- 
other::r--&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that answers your issue where did you encounter the problem is there a step you missed?&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please accept and close this thread&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 00:00:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182417#M144583</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-01-12T00:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182418#M144584</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/10949/muthukumarsiva.html"&gt;Muthukumar S&lt;BR /&gt;&lt;/A&gt;Can you revert whether this issue was resolved if so then accept and close the thread.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 06:59:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182418#M144584</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-01-15T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182419#M144585</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Sorry was stuck up in few issues and missed to reply. Yes the steps you have mentioned all followed. I was getting the error which i have shown in my first post. Hence i  initialized this thread and you have provided the same steps which i have followed. Not sure what is wrong or some bug ?&lt;/P&gt;&lt;P&gt;When ran with user A or B who are part of data_team in ACL. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;"$ hadoop fs -ls /abc/month=12&lt;/P&gt;&lt;P&gt;ls: Permission denied: user=A, access=EXECUTE, inode="/abc/month=12":abiuser:dfsusers:drwxrwx---"&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 23:14:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182419#M144585</guid>
      <dc:creator>muthukumar_siva</dc:creator>
      <dc:date>2018-01-15T23:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182420#M144586</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/10949/muthukumarsiva.html"&gt;Muthukumar S&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I am sure if it was a BUG then, hortonworks would have notified its customers having said that, it might sound trivial but try to go over your code, personally I don't see the issue with HDP 2.4 but if I may ask why haven't you upgraded?&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[root@nakuru ~]# su - usera
[usera@nakuru ~]$ id
uid=1024(usera) gid=1024(usera) groups=1024(usera),507(data_team)
[usera@nakuru ~]$  hadoop fs -ls /abc/month=12
Found 2 items
-rw-r--r--+  3 abiuser dfsusers        151 2018-01-11 13:00 /abc/month=12/acltest2.txt
-rw-r--r--   3 abiuser dfsusers        249 2018-01-11 12:38 /abc/month=12/file1.txt
[usera@nakuru ~]$ hdfs dfs -getfacl -R /abc/month=12/
# file: /abc/month=12
# owner: abiuser
# group: dfsusers
user::rwx
group::r-x
other::r-x
# file: /abc/month=12/acltest2.txt
# owner: abiuser
# group: dfsusers
user::rw-
group::r--
group:data_team:r--
group:dfsusers:r--
mask::r--
other::r--
# file: /abc/month=12/file1.txt
# owner: abiuser
# group: dfsusers
user::rw-
group::r--
other::r--
[usera@nakuru ~]$&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Since I reproduced your use case and provided the solution, I think its better you accept and close the thread.  The hortonworks demo  &lt;A target="_blank" href="https://hortonworks.com/blog/hdfs-acls-fine-grained-permissions-hdfs-files-hadoop/"&gt; HDFS ACLS: fine-grained permissions for hdfs files in hadoop &lt;/A&gt; was delivered using HDP 2.4 , so at times when I get in such a situation I ask a friend to crosscheck my code you might have forgotten something.&lt;BR /&gt;Cheers !&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6181iCB8ECF441D829692/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="muthukumar.jpg" title="muthukumar.jpg" /&gt;</description>
      <pubDate>Tue, 16 Jan 2018 04:21:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182420#M144586</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-01-16T04:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182421#M144587</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;P&gt;Thanks will close the thread. Yes the steps are verified multiple times and we end up with that error. We have not subscribed for even hortonworks basic support, because of this risk we have not upgraded. In case we stuck up with some issues there is no one to help. Client is aware of this.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 10:24:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182421#M144587</guid>
      <dc:creator>muthukumar_siva</dc:creator>
      <dc:date>2018-01-16T10:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182422#M144588</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/10949/muthukumarsiva.html"&gt;Muthukumar S&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Okay cheers I will try to build an &lt;/EM&gt;&lt;I&gt;HDP 2.4 on &lt;/I&gt;&lt;I&gt;VM what Ambari you ambari version. I hate to leave unfinished work. &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Will update you &lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 15:59:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182422#M144588</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-01-16T15:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182423#M144589</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I think HDP 2.4 is not downloadable from hortonworks site? Because we will be setting up new environment in which we will install the latest version and only latest one is downloadable. May be there will be someother link for 2.4. Even I think it might be a bug on the version. There is no hint found for this error apart from the regular steps you have provided. Below are details you have asked for.&lt;/P&gt;&lt;P&gt;Ambari Server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ rpm -qa | grep -i ambari&lt;BR /&gt;ambari-server-2.2.1.0-161.x86_64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ rpm -qa | grep -i hadoop&lt;BR /&gt;hadoop_2_4_0_0_169-mapreduce-2.7.1.2.4.0.0-169.el6.x86_64&lt;BR /&gt;hadoop_2_4_0_0_169-yarn-2.7.1.2.4.0.0-169.el6.x86_64&lt;BR /&gt;hadoop_2_4_0_0_169-libhdfs-2.7.1.2.4.0.0-169.el6.x86_64&lt;BR /&gt;hadoop_2_4_0_0_169-2.7.1.2.4.0.0-169.el6.x86_64&lt;BR /&gt;hadoop_2_4_0_0_169-hdfs-2.7.1.2.4.0.0-169.el6.x86_64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ rpm -qa | grep -i ambari&lt;BR /&gt;ambari-metrics-monitor-2.2.1.0-161.x86_64&lt;BR /&gt;ambari-metrics-collector-2.2.1.0-161.x86_64&lt;BR /&gt;ambari-agent-2.2.1.0-161.x86_64&lt;BR /&gt;ambari-metrics-hadoop-sink-2.2.1.0-161.x86_64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ rpm -qa | grep -i hdp&lt;BR /&gt;hdp-select-2.4.0.0-169.el6.noarch&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 17:29:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182423#M144589</guid>
      <dc:creator>muthukumar_siva</dc:creator>
      <dc:date>2018-01-16T17:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182424#M144590</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/10949/muthukumarsiva.html"&gt;Muthukumar S&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HDP 2.4 is still downloadable are &lt;A target="_blank" href="https://hortonworks.com/downloads/#data-platform"&gt; https://hortonworks.com/downloads/#data-platform &lt;/A&gt; HDP Downloads Click view all locate Hortonworks Data Platform Archive and expand on the right of your screen&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;See attached screen.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I will download the sandbox and reproduce your use case.&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6079iA5F13903B4C60404/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="muthukumar.jpg" title="muthukumar.jpg" /&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:09:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182424#M144590</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-01-16T20:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs are enabled and applied but not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182425#M144591</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 18:19:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ACLs-are-enabled-and-applied-but-not-working/m-p/182425#M144591</guid>
      <dc:creator>muthukumar_siva</dc:creator>
      <dc:date>2018-01-17T18:19:58Z</dc:date>
    </item>
  </channel>
</rss>

