If you have installed wordpress in macOS and now are being unable to install wordpress themes, this post is for you.
The reason behind this issue is quite simple. macOS does not permit to write contents from Wordpress unless changes the default permission.
GUI
First, check the permission by going to the
/Applications/xampp/xamppfiles/
and then finding the htdocs folder. Right click on this folder. Then select Get Info and find the permissions at the bottom of the dialogue box. Then select everyone and permit Read & Write.
Terminal
Alternatively, you can do the same thing from terminal using the following commands
$ cd /Applications/XAMPP/xamppfiles/
$ sudo chown -R daemon htdocs
$ sudo chmod -R g+w htdocs
Once you allow write
permission for the folder, you are good to go. Try installing themes now and that should work properly.
Leave a comment