Unable to create directory-parent directory writable? wordpress 2.7

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.

01

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

02

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

03
September 6th, 2009 7:50 am

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)

04
February 9th, 2010 10:02 pm
05
February 13th, 2010 10:16 am
06
February 24th, 2010 2:27 am

Hello!
viagra , cialis , cialis , cialis , viagra ,

07
November 30th, 2010 12:31 pm

annonce kamagra, kamagra paris
http://achat-kamagra-100mg.yolasite.com – effet kamagra oral jelly
kamagra 100 chewable tablet, acheter kamagra france

Leave Your Comment

Name*
Mail*
Website
Comment