Another attempt to keep file permissions.