Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49FE4105D1 for ; Mon, 29 Jul 2013 21:49:50 +0000 (UTC) Received: (qmail 59815 invoked by uid 500); 29 Jul 2013 21:49:49 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 59767 invoked by uid 500); 29 Jul 2013 21:49:49 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 59698 invoked by uid 99); 29 Jul 2013 21:49:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 21:49:48 +0000 Date: Mon, 29 Jul 2013 21:49:48 +0000 (UTC) From: "Kousuke Saruta (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5033) Bad error message for fs -put/copyFromLocal if user doesn't have permissions to read the source MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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