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 Mon, 29 Jul 2013 21:49:48 GMT

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

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

Hi Karthik,

I think the message which means "Permission Denied" should not be displayed on the client
side from the view point of the security.
Instead, that should be logged on the server side as audit log.

How do you think?
                
> 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