Support » Fixing WordPress » Unable to create directory uploads/. Is its parent directory writable by

  • Hello everyone!
    When i try to upload a new plugin to my site i receive the following error:
    Unable to create directory uploads/2016/07. Is its parent directory writable by the server?

    I have set this site from a backup of my main site (which is working just fine). I set this site from the backup of the main site to use it for testing purposes so that i will not break anything that is working on the original site.

    How can i fix this? any help will be appreciate it.

Viewing 16 replies (of 16 total)
  • imhim45

    (@imhim45)

    Hello everyone !

    This solution worked for me which I googled .

    1. Web Server Ownership
    The first level is actually to make sure that your web server has ownership over the directories:
    chown -R www-data:www-data your-wordpress-directory

    2. Directory Permissions
    The second level is also required – you must make sure that the directory permissions are properly set:
    sudo find /var/www/wordpress-directory/ -type d -exec chmod 755 {} \;
    sudo find /var/www/wordpress-directory/ -type f -exec chmod 644 {} \;

    I’ve found that most solutions posted on the web show part two but skip the first part.

    I hope this HELPS

Viewing 16 replies (of 16 total)
  • The topic ‘Unable to create directory uploads/. Is its parent directory writable by’ is closed to new replies.