Reply
New Contributor
Posts: 1
Registered: ‎06-28-2016

Unusual problem with permissions

[ Edited ]

I have an unusual permission denied error when running

 

[zeppelin@somehostname ~]$ hadoop fs -ls /data/crm

 

ls: Permission denied: user=zeppelin, access=READ_EXECUTE, inode="/data/crm":hdfs:zeppelin:drwxrwx---

 

As you can see my user (and that is OS user) is zeppelin and diurectory has group zeppelin and permission on directory are rwx but still I cannot list the directory.

 

To clarify I created the user zeppelin on Master node only. Has it to do with it maybe ?

 

What am I doing wrong?

Posts: 1,903
Kudos: 435
Solutions: 307
Registered: ‎07-31-2013

Re: Unusual problem with permissions

A user may not necessarily be part of an eponymous group. It's not right to
assume so without checking first.


What is the output of the below command? That is the right way to check on
HDFS.

~> hdfs groups zeppelin