What files need to be writable to get automatic plugin update working? (5 posts)

  1. paul1999
    Posted 7 years ago #


    I moved servers and am now hosted on slicehost (VPS). The plugin directory and everything inside it belong to group www-data (apache's group) and have the permissions drwxrwxr-x.

    When I try and update a plugin I get the "To perform the requested update, FTP connection information is required." message and a form to enter FTP details.

    Those permissions are correct and defiantly writable by apache/php. What other files need permissions changed?

    I am running 2.6.1, apache 2.2.3, php 5.2.0.



  2. SteveSmith1983
    Posted 7 years ago #

    The updater works via FTP and only by FTP, so unless you give it those details it can't update. Instead, I use One Click Plugin Updater, which can do it directly without FTP

  3. paul1999
    Posted 7 years ago #

    I will take a look at the plugin, thanks.

    Why does it require FTP? I never install FTP on my servers and have never had to configure wordpress with FTP details.

  4. SteveSmith1983
    Posted 7 years ago #

    At a guess it's to get over the problem of file ownership on shared servers. Unless you update by FTP then your files can start being owned by nobody instead of by you, and that's a pain! This is something I've found out since abandoning my own home server!

  5. stratoextra
    Posted 7 years ago #

    Hi Paul,
    it doesn't require ftp. I just had the same problem. It's not enough to make the plugin-directory writeable to apache. Better you chown the whole wp-content directory to apache. Or even your whole wp-installation. And it's ok to chmod the dirs 755 and the files 644. (Should be no problem to make the files executable but it's not necessary either).

Topic Closed

This topic has been closed to new replies.

About this Topic