By Cablestein on
Today I did a 7.10 to 7.12 core update...
While uploading the new core files from my local drive, My FTP program reported some files which it could not overwrite on my remote server, due to permissions issues.
The files were:
sites/default/settings.php
sites/default/files/.htaccess
and something in the root which I forget the filename.
Question: Is this a regular occurrence during a core update. Are these files important in the core update?
Drupal seems to run fine and I did my update.php with no errors.
Comments
by default...
Drupal by default locks down the files you mention. This is normal and absolutely necessary so no one can access settings.php which contains your DB info.
The permissions on those files are not Drupal based (Drupal tells your web server what permissions it needs to keep at the initial install of your Drupal installation. ). Those are server side permissions (file and directory permissions ). If you change them, immediately change them back after you upload the file if it is necessary.
The update to 7.12 does not require you to adjust the settings.php. Although it is always wise to do a comparison of the newer version with the old version to see if replacing is necessary.