hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5033) Bad error message for fs -put/copyFromLocal if user doesn't have permissions to read the source
Date Tue, 30 Jul 2013 01:30:47 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723249#comment-13723249
] 

Kousuke Saruta commented on HDFS-5033:
--------------------------------------

"Permission Denied" lets malicious users know existence of files. I think if one doesn't allow
to read a file, we shouldn't let them know.
                
> Bad error message for fs -put/copyFromLocal if user doesn't have permissions to read
the source
> -----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5033
>                 URL: https://issues.apache.org/jira/browse/HDFS-5033
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.3-alpha
>            Reporter: Karthik Kambatla
>            Priority: Minor
>              Labels: noob
>
> fs -put/copyFromLocal shows a "No such file or directory" error when the user doesn't
have permissions to read the source file/directory. Saying "Permission Denied" is more useful
to the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message