Unable to create directory-parent directory writable? wordpress 2.7

by Bruce Brown | 7 Comments

I was having uploading images on one of my WordPress 2.7 & 2.8 blogs. It gave me the following error:
Unable to create directory /home/username/server/wp-content/uploads/20XX/MM/ Is it parent directory writable by the server?

After a long time searching I found this solution from http://www.cyriac.me

Step 1: Log into your admin panel

Step 2: Go to Settings>>Miscellaneous

You will see two options,

Store uploads in this folder
Full URL path to files
Most probably you will see

/home/.boogee/XXXXX/XXXXXXX/wp-content/uploads

in the first field.

Step 3: Edit that to just

wp-contents/uploads

Some people were suggesting that you solve the problem my making the folders permissions 777, meaning anyone can do anything to that particular folder. As a security guy, I knew this was a bad idea (and it also did work for me 🙂 ). I kept searching and ran into that solution.

Worked like a charm! thanks cyriac for putting solution on the blog.

7 Comments on Unable to create directory-parent directory writable? wordpress 2.7

  1. sergee
    September 6, 2009 at 7:50 am (10 years ago)

    If you tryed everything and upload in your wordpress still doesn't work – i have an answer for you. In short: php safe mode won't let you create files or directories if your php scripts and upload directory belongs to different users. So there are 2 possible solutions: either disable php safemode (not recommended), or change an owner of scripts and upload directory:

    cd blog_root
    chown -R apache:apache *

    Complete description available here: http://tamkovich.com/2009/09/unable-to-create-dir… (in Russian)

    Reply

2Pingbacks & Trackbacks on Unable to create directory-parent directory writable? wordpress 2.7

  1. […] Unable to create directory-parent directory writable? wordpress … […]

  2. […] Unable to create directory-parent directory writable? wordpress … […]

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment *