Set permissions bits when files are copied.