[ 
https://issues.apache.org/jira/browse/HADOOP-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720365#action_12720365
 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-6057:
------------------------------------------------

+1 on Todd's comment.  Otherwise, malicious users may learn directory contents 
even they are not allowed to.

> "Permission Denied" message for non-existing file/dir.
> ------------------------------------------------------
>
>                 Key: HADOOP-6057
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6057
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0
>            Reporter: Suman Sehgal
>            Priority: Minor
>
> hdfs gives permission denied message for non-existent  file/dir.
> command :
> ========
> bin/hadoop dfs -cat  /user/<user1>out/part-00000/<dir>/<file> by <user1>
> For the above mentioned command, it should return "file doesn't exists"  
> message but the error message displayed is :
> cat: org.apache.hadoop.security.AccessControlException: Permission denied: 
> user=<user1>, access=EXECUTE, inode="part-00000":<user1>:users:rw-------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to