Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
07-11-2018
09:03 AM
- last edited on
04-21-2026
05:16 AM
by
GrazittiAPI
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 .