[ 
https://issues.apache.org/jira/browse/HADOOP-15211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16355832#comment-16355832
 ] 

Steve Loughran commented on HADOOP-15211:
-----------------------------------------

Do mean "copies permissions over"? Because update is different from non 
updating distcp, in that it doesn't create dest, it copies src/**/* into the 
already existing dest (at least I think so).

What happens if you try the command and dest doesn't exist?

> Distcp update not preserving root directory permissions
> -------------------------------------------------------
>
>                 Key: HADOOP-15211
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15211
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools/distcp
>    Affects Versions: 2.6.0
>            Reporter: PRASHANT GOLASH
>            Priority: Minor
>
> "hadoop distcp -pugpb -update <SRC> <DEST>" does not preserve permission for 
> <DEST> directory. Although, it preserves permissions for child directories 
> (<DEST>/child1 etc.)
> Using hadoop-distcp', version:'2.6.0-cdh5.7.2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to