Question

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

Posted February 19, 2020 1.9k views
WordPress

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

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.

×
1 answer

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

Submit an Answer