Server owner permissions for multisite
-
Hi all,
I’ve recently started setting up a new wpms install in a new dedicated server. The system is installed on a linux debian 5 setup and running on apache.
Having only ever run shared hosting before this setup is a much bigger leap than expected, but after a couple of weeks doing bits here and there I’ve finally got the multisite setup running, with domain mapping and all appears to running ok.
My issue is as follows:
On the server the default owner of all the installed folders is “root”
In order to allow media uploads, plugin installs and upgrades and wp auto-upgrades I’ve had to Chown the owner of the entire wordpress directory to the server as follows:
Chown -R www-data:www-data /usr/share/wordpress/Can anyone tell me if this is actually secure? (clearly if the server is compromised the folder would be writeable!) If not would I be better changing the owner back to root (or even creating a new user for the wordpress folder?), then either Chown the wp-content folder or chown the uploads, theme, and blogs.dir folders? (plus any others if there are more) and then only chown the entire wordpress install when upgrading or installing new plugins, themes, etc.?
Just a bit lost when it comes to the ownership of these folders as changing these ownerships is the only way i can get the system functioning ‘correctly’ so any help would be greatly appreciated!
Thanks in advance,
Rob
- The topic ‘Server owner permissions for multisite’ is closed to new replies.