diff --git a/core/modules/config/config.install b/core/modules/config/config.install index c109c3f..c971ae6 100644 --- a/core/modules/config/config.install +++ b/core/modules/config/config.install @@ -21,7 +21,7 @@ function config_requirements($phase) { // Ensure the configuration sync directory is writable. This is only a warning // because only configuration import from a tarball requires the folder to be // web writable. - if (!is_writable($directory)) { + if ($phase !== 'install' && !is_writable($directory)) { $requirements['config directory ' . CONFIG_SYNC_DIRECTORY] = [ 'title' => t('Configuration directory: %type', ['%type' => CONFIG_SYNC_DIRECTORY]), 'description' => t('The directory %directory is not writable.', ['%directory' => $directory]),