Closed (fixed)
Project:
Drupal core
Version:
6.6
Component:
other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2008 at 23:10 UTC
Updated:
13 Sep 2009 at 15:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
goodenvy commentedResolved the issue. I was unclear before about what 777 changes meant.. but I just noticed that my cpanel File manager has the option for changing permissions for the file.. and folder.. WOW.
Comment #2
goodenvy commentedNOT RESOLVED!! eeeks.. wt?
still when I click 'refresh' the 'sites' folder comes back to haunt me? help! i'm frustrated ..
Comment #3
ainigma32 commentedHave you tried using the File Managers delete function or have you only tried deleting the folder using FTP?
- Arie
Comment #4
ainigma32 commentedLooks like goodenvy won't be posting any feedback so I'm setting this to fixed.
Feel free to reopen if you think that is wrong.
- Arie
Comment #6
jeyroOpened this issue to give additional information. Please close again thereafter. The original issue was posted for version 6.6, my details are based on 6.13 as I experience this issue in this version. I did not experience this issue in 2008 (using 5.x)
I'm also using cpanel and have experienced the same problem. It might be more generally related to cpanel, and on the other hand it might not be. Also not sure if this is in any way related to cpanel's fantastico, even if I have not used it. Or it might be related to server settings. My experience is on shared hosting, while I have no complaint with my hosting service.
It appears that cpanel likes to protect the entire sites directory and its contents. That means in the sites directory it is difficult to change permissions by ftp. And when the permissions are correctly set to allow changes, a newly uploaded settings.php file gets quickly overwritten again by the previous one - and you wouldn't know it if you did not pay very close attention to what is happening (and if you don't refresh).
The same happens when you upgrade/update your code base. In my case, I like to wipe everything out, upload the new code base without its sites directory and upload my saved sites directory separately. Regardless of using ftp or cpanel file manager, the deletion of the sites directory may be initially allowed, but it is likely to reappear quickly (and you won't know it if you don't refresh).
My work-around has been to use cpanel's file manager to *rename* the sites directory (i.e. sites-old), create a new sites directory, delete the old one (sites-old) and then upload my settings.php file (&files directory, etc.) into the new sites directory. This would not get overwritten (but good to double check).
I hope this helps.