how about `file_permissions_mode if file_permissions_mode is not None else settings.FILE_UPLOAD_PERMISSIONS`?