You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/06/16 19:01:08 UTC
[jira] Commented: (HADOOP-6057) "Permission Denied" message for
non-existing file/dir.
[ https://issues.apache.org/jira/browse/HADOOP-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720238#action_12720238 ]
Todd Lipcon commented on HADOOP-6057:
-------------------------------------
Is part-00000 or <dir> a directory in which you don't have the +x bit? If so, permission denied is the correct response - you can't traverse into a directory on which you don't have +x, regardless of whether the file you're trying to get to exists or not.
> "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.