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 "Suman Sehgal (JIRA)" <ji...@apache.org> on 2009/06/16 13:23:07 UTC
[jira] Created: (HADOOP-6057) "Permission Denied" message for
non-existing file/dir.
"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.
[jira] Commented: (HADOOP-6057) "Permission Denied" message for
non-existing file/dir.
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (HADOOP-6057) "Permission Denied" message for
non-existing file/dir.
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HADOOP-6057.
--------------------------------------------
Resolution: Invalid
Closing this as "Invalid". Feel free to reopen if there is a need.
> "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.
[jira] Commented: (HADOOP-6057) "Permission Denied" message for
non-existing file/dir.
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ 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.