Kuhu Shukla created HDFS-12674:
----------------------------------

             Summary: hadoop fs -get does not throw permission denied in some 
cases
                 Key: HDFS-12674
                 URL: https://issues.apache.org/jira/browse/HDFS-12674
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs
    Affects Versions: 2.8.1
            Reporter: Kuhu Shukla


whoami : mysuperuser
pwd : /tmp/testKuhu with no write permissions,
{code}
$ ls -ld .
dr-xr-xr-x 2 mysuperuser users 4096 Oct 16 20:36 .
$ hadoop fs -get testFile
get: /tmp/testKuhu/testFile.COPYING (Permission denied)
{code}
But, when 
whoami : mysuperuser
pwd : /tmp/testKuhu this time with no read permissions,
{code}
$ ls -ld .
d-xx-x 2 mysuperuser users 4096 Oct 16 20:36 .
$ hadoop fs -get testFile
$
{code}
passes and copies it to /tmp/hsperfdata_mysuperuser/
The JIRA tracks this inconsistent behavior.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to