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

PRASHANT GOLASH commented on HADOOP-15211:
------------------------------------------

In case when child directories are *not* present, *distcp copies the 
permissions*

In case when child directories are present, *distcp preserves the permissions*

In case when parent directory is *not* present, *distcp copies the permissions*

In case when parent directory is present, *distcp does not preserves the 
permissions*

I think ideally the behavior of child and parent should be same as I am passing 
"pugpb" options

 

> 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