Thursday, September 29, 2011

Updating modules and themes requires FTP access to your server

How to get rid of that pesky (D7) FTP issue when updating modules:

Updating modules and themes requires FTP access to your server

http://drupal.org/documentation/install/modules-themes/modules-7#comment-4690140

The short of it, change the owner of the sites/default directory to whoever the Apache default user is (www-data, apache, etc.)

chown www-data sites/default

3 comments:

  1. Thanks, that saved me 5K lines of drupal documentation. And it worked :-)

    ReplyDelete
  2. Hi,

    Thnx, that worked. What didn't work was adding the apache user to a group, and then changing the group of the dir to match. And giving write access to groups, on sites/default.

    Should that have worked?

    Kieran

    ReplyDelete
  3. Who would have thought... Thx for the help

    ReplyDelete