Question

Unable to create directory wp-content/uploads/2020/02. Is its parent directory writable by the server?

while uploading the theme the above error comes up on my screen


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @vickychavan1991,

You’ll need to check the wp-content and upload folders and that they have the proper permissions. Folders should have 755 permissions while files need to have 644. You can change them like so

chmod 755 Direcotry
chmod 644 Files

Now, the above will only change the certain directory or file but not recursively all beneath the folder. To check everything recursively, you can use the following command

find /path/to/your/website -type d -exec chmod 755 {} \; && find /path/to/your/website -type f -exec chmod 644 {} \; 

You’ll need to change the /path/to/your/website bit with the path to your wp-content folder. Additionally, please note you’ll need to change path on both places in the command.

Regards, KDSys