STR:
- Install Drupal 8.0.x once so settings.php and services.yml are correct.
- Empty the database (e.g. drush sql-drop)
- chown & chmod those 2 files so Drupal can read but not write them (and PHP cannot chmod them either)
- Delete the active and staging config directories (which are not used by default)
- Hit core/install.php and follow the language and profile secltion
expected result: installation continues
actual result: an error screen that complains that settings.php and services.yml are not writeable, when the actual problem was simply that Drupal didn't find the 2 config directories to exists at line ~336 of install.core.inc inside function install_begin_request(&$install_state)
$install_state['config_verified'] = install_verify_config_directory(CONFIG_ACTIVE_DIRECTORY) && install_verify_config_directory(CONFIG_STAGING_DIRECTORY);
Refreshing that page allows installation to continue, which shows that the error message is totally wrong.

| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2376013-1.patch | 2.36 KB | pwolanin |
| Screen Shot 2014-11-15 at 6.37.24 PM.png | 782.56 KB | pwolanin |
Comments
Comment #1
pwolanin commentedComment #2
pwolanin commentedThe code comment for install_verify_config_directory() really doesn't make sense to me.
I think we can rm that function and fix the bug by using install_ensure_config_directory() instead
Comment #3
pwolanin commentedComment #4
pwolanin commentedComment #5
pwolanin commentedDiscussed with alexpott on IRC and this looked reasonable to him, since we create the files directory before this.
Comment #6
alexpottI manually tested this and it works are expected.
Comment #8
catchThis is a critical so fine per https://www.drupal.org/contribute/core/beta-changes
Committed/pushed to 8.0.x, thanks!