chmod -r dir3/file
if imagex append dir3 dir.wim; then
error "Incorrectly succeeded in capturing directory with unreadable file"
chmod -r dir3/file
if imagex append dir3 dir.wim; then
error "Incorrectly succeeded in capturing directory with unreadable file"