WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I followed this tutorial on setting up a local web development setup without mamp. Now my problem is when I go to upload a image in WordPress I get the following error:

“Screen Shot 2013-01-05 at 10.51.42 PM.png” has failed to upload due to an error: Unable to create directory wp-content/uploads/2013/01. Is its parent directory writable by the server?

It seems like it might be some sort of permissions error, but I am not sure exactly what to change.

share|improve this question

You need to change the file permissions on your wp-content folder (and containing folders) to 755. On your setup you can do this with:

find . -type d -exec sudo chmod 755 {} \;

Please note that using chmod -R 755 will mark both directories and files as 755.

share|improve this answer
perfect thankyou! – Anders Kitson Jan 6 '13 at 7:06
Glat I could help! If my answer solved your problem, please mark it as correct using the green tick to the left of my answer – shea Jan 6 '13 at 7:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.