Server won't let me delete files

Discussion in 'Site & Server Administration' started by lithman, Aug 24, 2007.

  1. #1
    I have an image uploaded on one of my sites. The folder where the images are uploaded is set to CHMOD 777, as are all the files when they are uploaded.

    I'm trying to clean up space on my server and the damn thing won't let me delete the images people are uploading.

    Here's the message I get in my ftp program.

    Command: DELE /public_html/uploads/images/2007-08-24/imagename.jpg
    Response: 550 Could not delete /public_html/uploads/images/2007-08-24/imagename.jpg: Permission denied

    It says permission denied. I tried changing the permissions of the images and it won't let me!

    What can I do here? Or do I need to contact my host?
     
    lithman, Aug 24, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It could be user permissions.
    Since these images are being uploaded by users, via a script, the permissions might be assigned as "nobody", instead of your username.

    Yes, contact your host, and they will sort it for you
     
    cyanide, Aug 24, 2007 IP
  3. lithman

    lithman Well-Known Member

    Messages:
    1,189
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Thanks for the help
     
    lithman, Aug 24, 2007 IP
  4. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #4
    NO problem, post back if you still have issues
     
    cyanide, Aug 24, 2007 IP