[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
Thu Sep 23 19:48:12 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:
-----------------------------+----------------------------------------------
Comment(by jnovak):
I've discovered the same problem on a clean install -- the "automatic
upgrade" option for plugins or WordPress itself, or the installation of
new plugins or themes sends me to the FTP credentials page instead of just
doing the in-place upgrade/install.
After a lot of troubleshooting, I narrowed it down to three files in the
wp-admin directory needing to be owned by the webserver's user:
wp-admin/plugins.php
wp-admin/themes.php
wp-admin/update.php
As long as I chown those to the webserver user, as well as ensuring that
the wp-content directory has the appropriate permissions/ownership,
everything works fine. If those three wp-admin files are not owned by the
webserver user, the in-place upgrade/install won't be attempted.
Since those three files should never be touched outside of a complete
upgrade of WordPress itself, this behavior seems very wrong.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14753#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list