Reset file permissions.