Hi,
I need to remove Drupal testing folder complete from my hosting server so I reinstall a new fresh one. No mater what I do the Site folder is not deletable at all. Do you think there is any way I can do this.

Thanks

Comments

snufkin’s picture

I had the same issue. Please describe your installation environment on the following bugreport, and which files you couldnt remove (try going into the sites dir and removing the files separately): http://drupal.org/node/218210

I have the suspicion that on some environments the file ownership is not set correctly, and thus only root access can later remove them.

sillhuwet’s picture

Tried to chmod them first to 777 and then delete them, but now I have three folders I can't delete ;), so I have to contact my provider about this.

ceejayoz’s picture

The files folder becomes owned by the webserver's user, not your FTP user. Contact your host to have them deleted, or you could do it via a custom PHP script (as PHP runs as the webserver user and thus has permission to do it).

snufkin’s picture

thats true, but generally you access the files via cpanel file browser, and doesn't that runs as the webserver's user?

vm’s picture

yes. I too will use my hosts panel when I can't delete a folder or file.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

ceejayoz’s picture

I don't have cPanel, so I'm not sure. It's worth a shot, but it may run as its own cpanel user or something.

droshani’s picture

I read no matter what you can move this files, so create a dump folder and move them there, then ask your Server Admin to delete the dump folder for you.