Update file permissions.