Settings.php in read only mode? When does drupal settings.php become read-only? I experienced the drupal encountered an error when I was just creating a view. Cannot see the error logs from the admin side. Thought will enable the php error reporting in settings.php and it is shown as read-only? Why does it happen? How can I find the error causing this issue?
When does drupal settings.php become read-only?


Towards the end of the installation process, when the install scripts have finished writing all they need to write to the file.


  Why does it happen?


Because leaving that file writeable represents a security risk.


  How can I find the error causing this issue?


It's not an error, so there's no cause to find.