Question
Trying to set proper WP file and directory permissions with little luck...
I have been having issues with Backupbuddy saying that it does not have the proper permissions to create directories and files.
I have looked everywhere for the proper file permissions for WP (I have an ubuntu +nginx + WP droplet) but cannot seem to find the proper permissions.
The last time I changed permissions, all I got going to the site was a white screen. No errors - just a white screen. Had to restore from backup.
Guessing at this seems to be quite dangerous. How do I set the proper file and directory permissions for WP that allows wp-config.php to be written during the 5 minute install (without me having to cut the wp-config code out, log into the server via FTP, create wp-config.php, paste in the code and save the file), and allows plugins like Backupbuddy to have the permissions they need in the uploads directory?
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.
×
I know that I could use Filezilla to try and set these file permissions (trying that now, in fact), but I want to know how to properly do this from the command line so that I can (eventually) script the setup of my servers.
Thanks!