-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I came here from your helpful blog post (thanks!):
https://jakebillo.com/wordpress-file-permissions-and-upgrades-with-wpfix-py/
I am running a server hosting a website managed by someone else and I want to allow him to perform updates automatically in Wordpress rather than having to use the command line.
One thing I don't understand about your blog post and script is why you suggest to change only file permissions rather than running this command which seems simpler:
chmod -R g+w wp-{admin,includes}
That makes directories group-writable as well, but if all the files are writable I don't see why there would be any additional security risk in making directories writable too...is there some advantage I'm missing?
One other nitpick: a naiive reader of your blog post might try to run a command like this:
chmod -R 664 wp-admin
...which would obviously be problematic in terms of being able to list directory contents. As I said, a nitpick, and maybe not worth correcting since you did after all say "files", not "files and directories".
Anyway, it's too bad that it seems like the only way to get this working correctly (without installing suexec) is to do updates manually or using the command line...although I am using the "SFTP Updater" plugin so updates are installed via SFTP rather than FTP - maybe that's why it didn't work?
Thanks and sorry for the long-winded questions; there isn't much good info on how to set this up correctly for VPS servers and your blog post and library is one of the few good resources I found...