Hi,
I have a host running a NFS gateway mounted on the same machine under /mnt/hdfs.
Permissions seems to work fine for all the regular users, my only issue is the hdfs user. When I access a file using the native hdfs client the hdfs user is considered "the root user" and can perform any operation, is this true even for the file and folders exported via the NFS gateway?
In my installation it doesn't work:
[hdfs@hostname:/mnt/hdfs/app]$ ls -l
total 3
drwxr-x---. 5 userA nobody 160 19 giu 13:02 appA
drwxr-x---. 5 userB nobody 160 19 giu 13:02 appB
drwxr-x---. 5 userC nobody 160 19 giu 13:02 appC
[hdfs@hostname:/mnt/hdfs/app]$ cd appA
bash: cd: appA: Permission denied
If I try to read from the folder /mnt/hdfs/app/appA as userA it works just fine.
Is this the expected or I have misconfigured something?