i have created /project folder through hdfs user and as you can see i have changed /project permission to 400 means only hdfs user can read contain under project folder. I have created one test.txt file under /project.
See now moin is user which i have created. moin is not having any permission over /project/test.txt. but still i'm able to view that files without getting permission denied error, this is very weird. please look into this as i have spend my 2+hrs on finding the solution and still i did not got any so finally posting this error.
Appreciate for solution on this.
Thanks in advanced ...
[moin@sandbox-hdp ~]$ hdfs dfs -ls /project
Found 1 items
-r-------- 1 hdfs hdfs 19 2019-05-18 07:29 /project/test.txt
[moin@sandbox-hdp ~]$ hdfs dfs -cat /project/test.txt
Hi my name is moin
Below is the Version i'm using-:
Ambari-: Version 126.96.36.199
[root@sandbox-hdp ~]# hadoop version