Upgrade Permissions Failed to Connect to FTP Server
-
In WordPress 2.8 the account has to be owned to the Apache web server in order to perform automatic WordPress, and plugin, upgrades otherwise there is an error page saying upgrade cannot connect to the server, but doesn’t say anything about account owner permission.
My suggestion is to have WordPress detect account directory ownership, and use that owner to do the upgrades. It works for FTP, so it should work for the WordPress upgrade script.
WordPress should use whatever account the WordPress directory is already owned by, otherwise FTP clients will be able to login, but cannot make changes to files, because the FTP client will not have permission.
For those people who change their WordPress permissions to the web server account, they loose their ability to delete and upload plugins not managed by WordPress, because the web server account doesn’t have a login password, and in-fact doesn’t allow login remotely by an FTP program. Allowing the web server remote access could cause a security risk.
Is there a way to work around this issue so WordPress upgrade can work with the existing account owner, to avoid giving ownership to Apache?
- The topic ‘Upgrade Permissions Failed to Connect to FTP Server’ is closed to new replies.