[
https://issues.apache.org/jira/browse/HADOOP-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622340#action_12622340
]
Tsz Wo (Nicholas), SZE commented on HADOOP-3913:
------------------------------------------------
I tried the following
# Login as tsz
## created a 0.17 cluster
## created a 0.18 cluster
## created home directory for "sze" in both cluster
# Login as sze (a non-superuser for both clusters)
## mkdir and copied some files to /user/sze/foo in the 0.18 cluster
## distcp the files in /user/sze/foo from the 0.18 cluster to the 0.17 cluster
(success)
## chmod 000 /user/sze/foo in the 0.18 cluster
## distcp the files in /user/sze/foo from the 0.18 cluster to the 0.17 cluster
(failed with the same error message shown in HADOOP-3889)
So, I cannot reproduce it. Could you check it, Suman?
> Distcp allows copy even if directory permissions are 000.
> ---------------------------------------------------------
>
> Key: HADOOP-3913
> URL: https://issues.apache.org/jira/browse/HADOOP-3913
> Project: Hadoop Core
> Issue Type: Bug
> Components: tools/distcp
> Affects Versions: 0.18.0
> Reporter: Suman Sehgal
>
> distcp initiated from 0.17.0 and 0.18.0 permissions turned ON, directory with
> permission 000, data gets copied from
> 0.18.0 to 0.17.0
> Data gets copied between different versions of hadoop when tried by the same
> user. It gets failed only if other
> user(other than the user who started cluster) tries to copy data using distcp.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.