Created 07-11-2018 09:03 AM
I am creating a directory under /user with some name say abcd , but permission for this user is getting set 750 but same operation when is being performed in the different environment permission is getting set 700 , however permission for the directory /user is drwxr-xr-x in both environment .
please find below commands for the operation performed while creating the hdfs directory .
hdfs dfs -mkdir /user/abcd hdfs dfs -chown abcd:hdfs
Thanks
Created 07-11-2018 09:31 AM
@Anurag Mishra
Can you please check the "fs.permissions.umask-mode" property value defined inside your cluster. Is this value set differently in your different clusters?
Ambari --> HDFS --> Configs --> Advanced --> "Advanced hdfs-site"
https://community.hortonworks.com/content/supportkb/48780/how-to-set-a-global-umask-in-hdfs.html
https://community.hortonworks.com/articles/62613/umask-vs-hdfs-default-acls.html
Created 07-11-2018 09:31 AM
@Anurag Mishra
Can you please check the "fs.permissions.umask-mode" property value defined inside your cluster. Is this value set differently in your different clusters?
Ambari --> HDFS --> Configs --> Advanced --> "Advanced hdfs-site"
https://community.hortonworks.com/content/supportkb/48780/how-to-set-a-global-umask-in-hdfs.html
https://community.hortonworks.com/articles/62613/umask-vs-hdfs-default-acls.html
Created 07-11-2018 09:41 AM
Thanks jay for your response ,
in the lecture where I am experiencing the issue fs.permissions.umask-mode is set 022 but in other cluster where we are not getting the issue value if the same is 077 .