I have a test installation and wanted to delete all the image files from /files/images but for some reason, cpanel or FTP won't delete them. FTP gives a 550 error.

Is there a way?

Thanks...gray97

Comments

dman’s picture

On nice systems, your user account would at least be in the same group as your webserver. Sound like you are not, and don't have access to files it created independant of you.

Ask it to give you access ;-)

get a drupal page (eg just a php code snippet) to run

`chmod -R a+w files/images`;

and you (and the rest of the world) should have write access. Modify the command as needed.

To avoid this problem on a new site - make the files and files/images directories yourself so the webserver doesn't have to. You'll retain ownership, but the server will have write access.

.dan.
http://www.coders.co.nz/

pwolanin’s picture

see more complete (recursive) snippet: http://drupal.org/node/34028

---
Work: BioRAFT