title: write permission for group is not inheriting in hadoop using default acl
body: <p>created sale directory under / in hadoop (hdfs)</p>
  
  <p>[hdfs@vm1 ~]$ hadoop fs -mkdir /sale</p>
  
  <p>It got 755(rwxr-xr-x) permission as below</p>
  
  <p>[hdfs@vm1 ~]$ hadoop fs -ls /</p>
  
  <p>drwxr-xr-x   - hdfs supergroup          0 2015-04-11 18:12 /sale</p>
  
  <p>Now we are trying to set default acl, so that further directories created in sale directory inherit the acl permissions set on sale directory</p>
  
  <p>[hdfs@vm1 ~]$ hadoop fs -setfacl  -m default:user::rwx,default:group::rwx,default:other::--- /sale</p>
  
  <p>[hdfs@vm1 ~]$ hadoop fs -ls /</p>
  
  <p>drwxr-xr-x+  - hdfs supergroup          0 2015-04-11 18:12 /sale</p>
  
  <p>plus sign + denotes that default acl has been set on directory</p>
  
  <p>[hdfs@vm1 ~]$ hadoop fs -getfacl /sale</p>
  
  <h1>file: /sale</h1>
  
  <h1>owner: hdfs</h1>
  
  <h1>group: supergroup</h1>
  
  <p>user::rwx</p>
  
  <p>group::r-x</p>
  
  <p>other::r-x</p>
  
  <p>default:user::rwx</p>
  
  <p>default:group::rwx</p>
  
  <p>default:other::---</p>
  
  <p>Now we are creating a directory under sale to check if the permission are getting inherited as set by setfacl command, but we are seeing that instead of 770(rwxrwx---) permission its getting set as 750(rwxr-x---).
  Means we are not able to set write permission on group level in hadoop </p>
  
  <p>[hdfs@vm1 ~]$ hadoop fs -mkdir /sale/dir1</p>
  
  <p>[hdfs@vm1 ~]$ hadoop fs -ls /sale/</p>
  
  <p>drwxr-x---+  - hdfs supergroup          0 2015-04-11 18:19 /sale/dir1</p>
  
  <p>The above scenario(default acl) is working fine on linux box.
  Is there any way to enable same on hadoop/hdfs ?
  We are using Cloudera Hadoop 5.2, Is there any configuration parameter we are missing to do this in Hadoop ?</p>