By Fredj94 on
Hy,
i deleted drupal files from my server via ftp but there is some files wich won't to be delete: '
/sites/default/files
and
/sites/default/files/settings.php
I tried to delete then via a php code, via cpanel, putting therechmod to 777, but there are always on my server. safe mod is off.
How can i delete these files please ?
thanks a lot
Comments
Try file manager....
I had this problem once. Whenever I tried to delete this settings.php file through ftp, I got message that I didn't have permissions.
So on my server, Through Cpanel, I went to file manager and there I tried to delete the whole 'Default' folder.
And it worked for me.
My ftp was still showing this folder later, But when I closed it and logged in again, folder wasn't there.
I hope this helps you!
-Saurabh
If your server is running
The reason it might not be working is because you appear not to be chmodding
the correct elements (ie. you don't mention chmodding the /defaults folder).
Try chmodding both the /default FOLDER and the settings.php FILE to 777 instead.
You need to to this individually - the folder first and then the file.
Then delete.
If that doesn't work, then your server is probably running phpsuexec.
Suexec is a security module which prevents 777 chmod, because 777 is dangerous.
Suexec allows installed scripts to write and create without having full 777 permission.
If the first instructions don't work, try again using chmod 755.