Support Questions
Find answers, ask questions, and share your expertise

hdfs copyFromLocal permission denied

hdfs copyFromLocal permission denied


Dear experts,

I am trying to copy a file from local filesystem to hdfs and getting below issue. Could you please let me know why this happens. I have not enabled HDFS ACLs yet.

hdfs dfs -copyFromLocal -f sample.txt /data/test

copyFromLocal: Permission denied: user=devuser, access=EXECUTE, inode="/data/test":hdfs:hdfs:d---------

Below are the details of the directories: and i clearly see devuser has access on the target directory

d--------- - hdfs hdfs 0 2019-06-03 15:41 /data

drwxr-xr-x - devuser hdfs 0 2019-07-05 14:42 /data/test

Moreover it is weird that the error is throwing for EXECUTE permission where i am expecting WRITE/READ permission denied.



Don't have an account?