You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Kuhu Shukla (JIRA)" <ji...@apache.org> on 2017/10/17 14:09:00 UTC

[jira] [Created] (HDFS-12674) hadoop fs -get does not throw permission denied in some cases

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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org