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 AF06318110 for ; Thu, 28 May 2015 14:38:33 +0000 (UTC) Received: (qmail 68077 invoked by uid 500); 28 May 2015 14:38:27 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 68027 invoked by uid 500); 28 May 2015 14:38:27 -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 68016 invoked by uid 99); 28 May 2015 14:38:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 May 2015 14:38:27 +0000 Date: Thu, 28 May 2015 14:38:26 +0000 (UTC) From: "Hudson (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=14562992#comment-14562992 ] Hudson commented on HDFS-5033: ------------------------------ FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #199 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/199/]) HDFS-5033. Bad error message for fs -put/copyFromLocal if user doesn't have permissions to read the source (Darrell Taylor via aw) (aw: rev bf500d979858b084f0fe5c34a85c271a728e416b) * hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java > 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: Improvement > Affects Versions: 3.0.0, 2.0.3-alpha > Reporter: Karthik Kambatla > Assignee: Darrell Taylor > Priority: Minor > Labels: newbie > Fix For: 3.0.0 > > Attachments: HDFS-5033.001.patch > > > 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 was sent by Atlassian JIRA (v6.3.4#6332)