I've been searching for a definitive answer to this question for a couple of hours but can't find anything.
I'm running multiple sites on a server using suexec. The owner and group of all files and directories is root
with the exception of the uploads
directory and subdirectories which are owned by the system user associated with the site. Let's call this user user
for his discussion.
I'm trying to get the "one-click" plugin updates and installation to work but I am not having success. I have tried temporarily changing ownership of wp-content
and all files and directories in wp-content
to user
and I have have double checked the execute and write permissions on all directories which are 755
.
None of this has worked.
The only thing that has worked is changing the ownership of all files and directories on my WP install to user
. This is a gaping security hole (as I've learned the hard way) and I want to avoid doing this.
So what directories do I temporarily change ownership of to get one-click updates and installs working?