Some PermissionError checks