test for dir copy with an unwritable target dir

Ensures that when the target's parent dir is unwritable, a dir copy verification
returns an UNWRITABLE_TARGET status.