Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 204D810FF8 for ; Thu, 19 Sep 2013 02:16:53 +0000 (UTC) Received: (qmail 22733 invoked by uid 500); 19 Sep 2013 02:16:52 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 22705 invoked by uid 500); 19 Sep 2013 02:16:52 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 22697 invoked by uid 99); 19 Sep 2013 02:16:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 02:16:52 +0000 Date: Thu, 19 Sep 2013 02:16:52 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9929) Insufficient permissions for a path reported as file not found 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/HADOOP-9929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771522#comment-13771522 ] Hudson commented on HADOOP-9929: -------------------------------- SUCCESS: Integrated in Hadoop-trunk-Commit #4439 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/4439/]) HADOOP-9929. Insufficient permission for a path reported as file not found. (Contributed by Colin Patrick McCabe) (cmccabe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1524611) * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Globber.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestGlobPaths.java > Insufficient permissions for a path reported as file not found > -------------------------------------------------------------- > > Key: HADOOP-9929 > URL: https://issues.apache.org/jira/browse/HADOOP-9929 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 2.3.0 > Reporter: Jason Lowe > Assignee: Colin Patrick McCabe > Fix For: 2.3.0 > > Attachments: HADOOP-9929.001.patch, HADOOP-9929.002.patch > > > Using "hadoop fs -ls" to list a path where the permissions of a parent directory are insufficient ends up reporting "no such file or directory" on the full path rather than reporting the permission issue. For example: > {noformat} > $ hadoop fs -ls /user/abc/tests/data > ls: `/user/abc/tests/data': No such file or directory > $ hadoop fs -ls /user/abc > ls: Permission denied: user=somebody, access=READ_EXECUTE, inode="/user/abc":abc:hdfs:drwx------ > {noformat} -- 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