You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2013/09/03 18:10:52 UTC

[jira] [Created] (HADOOP-9929) Insufficient permissions for a path reported as file not found

Jason Lowe created HADOOP-9929:
----------------------------------

             Summary: 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.0.4-alpha
            Reporter: Jason Lowe


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