Cant delete the upload directorys

robdraw

Joined: 2009-05-17
Posts: 6
Posted: Fri, 2009-05-29 15:11

Hi, I have had this problem now on two accounts, I have removed an old installation of Gallery and pt on a new and I can delete the old upload directorys and its sub directories by FTP or any other means, The message I get is no permission.

18:07:20] Command: RMD /public_html/gallery/img_dat69/cache/module/rating/0/
[18:07:20] Response: 550 Can't remove directory: Permission denied
[18:07:20] Command: RMD /public_html/gallery/img_dat69/cache/module/rating/
[18:07:20] Response: 550 Can't remove directory: Permission denied
[18:07:20] Command: RMD /public_html/gallery/img_dat69/cache/module/rearrange/0/0/
[18:07:21] Response: 550 Can't remove directory: Permission denied
[18:07:21] Command: RMD /public_html/gallery/img_dat69/cache/module/rearrange/0/
[18:07:21] Response: 550 Can't remove directory: Permission denied

Why does this happen?

Login or register to post comments
mridgwel

Joined: 2007-01-27
Posts: 215
Posted: Sat, 2009-05-30 23:19

I'm guessing that your web server is set up in a way where all files it writes are not owned by you, rather owned by it.

There is a tool in <gallery_url>/lib/support that can change\correct permissions. e.g. if you had installed your gallery on:

www.example.com/gallery2

then this would be at:

www.example.com/gallery2/lib/support

Depending on how much control you have over your server, you may not be able to do this from G2 or FTP and require the server administrator to make the changes for you.

See also:
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?

_________
Mark
ACCU - www.accu.org - Professionalism in Programming.

Login or register to post comments
mridgwel

Joined: 2007-01-27
Posts: 215
Posted: Sat, 2009-05-30 23:21

If you have moved servers, then also look at:

FAQ: How can I move my gallery installation from one server to another?

and check you've followed all the steps
_________
Mark
ACCU - www.accu.org - Professionalism in Programming.

Login or register to post comments