Forums

chmod problem with uploading images (9 posts)

  1. snoother
    Member
    Posted 3 years ago #

    hi...

    i've had a bit of an adventure setting up wordpress over the past couple of days...

    at the moment i'm having a problem with uploading images. i get this message:

    "Unable to create directory /hsphere/local/home/[my username]/[my domain]/wp-content/uploads/2006/03. Is its parent directory writable by the server?"

    now, i know that this is usually resolved by changing the chmod settings on all the folders in the file path to 777.

    however, this time, as far as i can tell, when i change a folder's chmod setting to 777, my f.t.p. software is resetting it to 755 (!).

    i'm using smart ftp, and i was able to resolve this problem before using the same software/setup, i'm just not sure what's going on with it this time around.

    any help would be appreciated.

    thanks in advance.

  2. snoother
    Member
    Posted 3 years ago #

    hi...

    an update on this:

    ive downloaded and installed filezilla, to use instead of smart ftp.

    using that, i've set permissions for the /wp-content folder to 777.

    still no luck - i get the same message when trying to upload an image on the 'write post' option:

    "Unable to create directory /hsphere/local/home/[username]/[domainname]/wp-content/uploads/2006/03. Is its parent directory writable by the server?"

    what next?

    thanks.

  3. Chris_K
    Administrator
    Posted 3 years ago #

    You may need to directly create the /uploads directory under wp-content/

  4. snoother
    Member
    Posted 3 years ago #

    i thought of that, but this means that i would have to create new folders every month for each new load of uploads.

    the whole point of wordpress is to avoid having to do things like that.

    has anyone had any problem like this before? i think it must be something fairly straightforward to fix, everything else seems ok (so far).

    thanks.

  5. snoother
    Member
    Posted 3 years ago #

    hi...

    i tried to do this manually, by actually creating the necessary folder path - /uploads/2006/03 - but this still produces an error.

    does anyone have any ideas how to get this to work?

    thanks...

  6. mahalie
    Member
    Posted 3 years ago #

    This just started happening for me as well on a blog I upgraded to WP 2.0.2. It doesn't seem to be the actual directory it references, as it never did that before and the directories don't exist. Could it be the file that's trying to create the directories doesn't have sufficient permission? If so, what file is that?

  7. mahalie
    Member
    Posted 3 years ago #

    I've been reading related posts and checked out

    codex.wordpress.org/Changing_File_Permissions

    CHMOD-ing wp-content to 777 did not fix the problem, but creating and then CMOD-ing 'uploads' to 775 did finally resolve the problem. I'm not really comfortable using 777, so I changed wp-content to 775 and upload still worked.

    Hope that helps someone...

  8. solos
    Member
    Posted 3 years ago #

    I have recently ran into this problem with osCommerce. Making sure my ftp client was set to binary before uploading cgi or php files/folders did the trick.

  9. feelfull
    Member
    Posted 3 years ago #

    Siince I have the same problem...
    How can I check if my FTP Client is "set to binary"?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags