By manojpavitran on
I am trying to change my base url in settings.php but cannot overwrite the existing file. I get the following permission message.
"553 Can't open that file: Permission denied : /drupal/sites/default/settings.php"
I tried changing the permissions of the folder from 755 to 777 but did not help.
Any idea how to resolve this ?
Comments
settings.php same permission problems
I even have full server permission, but i'm still not able te edit settings.php. Is it possible that the drupal installations is overriding other autorizations?
regards,
settings.php permission problem
It seems update.php is causing the problem.
// Enforce access checking?
$access_check = TRUE;
I have set it to FALSE and then updated settings.php - worked.
After updating the settings.php I have changed update.php back to TRUE
It works fine now.
6.x
Having this problem with version 6 and dont have that line in the update file. Anyone have a fix for 6.x?
Ladies and Gentlemen, I got
Ladies and Gentlemen,
I got my problem fixed. I'm using Drupal 6. Just enable read/write permission from the sites folder and everything underneath it, especially the default folder. This credit goes to my hosting provider for catching this sneaky problem. Please share if it did work for you as well.
Yep, that did it.
Yep, that did it.
Ladies and Gentlemen, I got
Thanks dng2000.
Ditto in Drupal 6.9
With 150 folders and 1000 files both WS-FTP Pro and the host's control panel balked at global permission changes but the sites folder and then the default folder read/write permission solved a three day problem.
Yes. The key was also doing
Yes. The key was also doing the default folder and the sites folder in addition to setting.php
Thanks guys this was a great
Thanks guys this was a great help. I was having the same problem and couldn't overwrite the settings.php file in Drupal 6.3.
I just changed the permissions using FileZilla - simple in the end!
Same problem in 6.3
Same problem in 6.3 --
Solved it by using permissions 644 for settings.php file.
Wouldn't change back to original 444 after modification -- hope that's ok.