Created 07-24-2016 08:19 AM
i have hdp sandbox 2.3..i login with user "sankar" and my hive warehouse directory having below file permission
hadoop fs -ls /apps/hive
drwxr-xr-x hive hdfs /apps/hive/warehouse
Here i see that owner having: rwx; group:r-x other: r-x permission
But while i login to sankar user i can easily put some data into that directory
i have attached below screen short
Can any one explain this in my understanding way...please
Created 07-24-2016 09:08 AM
If you have enabled ranger plugin for hdfs then posix permission has no meaning.
Sandbox by default is configured to use ranger hdfs plugin having policy 'HDFS Global Allow' enabled which allow any user to have rwx permission. You can disable this from ranger.
Created 07-24-2016 09:08 AM
If you have enabled ranger plugin for hdfs then posix permission has no meaning.
Sandbox by default is configured to use ranger hdfs plugin having policy 'HDFS Global Allow' enabled which allow any user to have rwx permission. You can disable this from ranger.
Created 07-25-2016 11:29 AM
Thank you rahul..how can i disable this from ranger? can you explain in wide?
Created 07-24-2016 10:06 PM
Can you please check the value of dfs.permissions.enabled in your hdfs-site.xml? If this is false, permissions are not enforced.
Created 07-25-2016 09:48 AM
thanks you guys ..i will check it let you know..