hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6057) "Permission Denied" message for non-existing file/dir.
Date Tue, 16 Jun 2009 21:46:07 GMT

    [ 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.


Mime
View raw message