ansible/ansible — pull request #8271 by tksmd (2014-07-24 05:16:37+00:00)
Title: fix an issue that copying directory will fail when trying to change file attributes

As I already discussed with @jimi-c on the https://github.com/ansible/ansible/commit/84759faa0950146a6bae8452580b4a4cede6d871#commitcomment-7109780, copying directory will fail when trying to change file attributes and the target file already exists on remote.

I added brief testing and you can run the test as follows
```
$ cd test/integration
$ TEST_FLAGS="--tags=test_copy" make non_destructive
```

If you need more info, kindly let me know. Thanks!