Drupal incorrectly reporting that permissions need to be set on settings.php
They keyline here is Protection disabled.

Which means you have to check your settings.php or setting.local.php for

$settings['skip_permissions_hardening'] = TRUE;


which must be

$settings['skip_permissions_hardening'] = FALSE;


instead.

If it's not there already, add it.

Flush cache, done.