[wp-trac] [WordPress Trac] #14753: Automatic Upgrade Breaks when Owner in *NIX is not Web Server user
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 1 13:57:38 UTC 2010
#14753: Automatic Upgrade Breaks when Owner in *NIX is not Web Server user
-----------------------------+----------------------------------------------
Reporter: captbrando | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 3.0.1
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
After troubleshooting an automatic upgrade issue off and on for about a
year, I think I have finally discovered the issue that caused the auto
upgrade to fail.
IN this setup, I had a user with their own directory and site. Their unix
user ID owned the directory and files, and the webserver's group had write
access to all the files (verified in the apache config that it was using
that group).
The automatic upgrade ONLY worked when I changed the user ownership to
that of the webserver user ID. I did nothing to permissions, just changed
who owned the file, then the automatic upgrade worked. This should not be
how wordpress works, as from a permissions perspective, it has access to
modify anything inside those directories (under the group write permission
bit). I'm not sure WHICH file changed the behavior, but when I changed
all the wp* files recursively to be owned by the webserver, it worked.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14753>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list