I'm using Drupal 6.6 on a x64 Debian host.
Drupal is installed in /var/www
Plugin Manager did not detect this so I had to manually give it the ftp path.

On Debian, the default user for the Apache process is www-data.
All the files in my /var/www are owned by either www-data (writeable) or root (readonly).
www-data does not have a login shell or a password, so it cannot be used as an ftp user.
root cannot login using ftp because of security.
A regular user (amedee) has ftp access, but does not have write permissions on /var/www.

What is the recommended proftpd configuration on Debian to make Plugin Manager work?

(I would prefer the ssh backend, but ssh2.so does not build)

Comments

amedee-1’s picture

Update:
I chown'ed my /var/www/sites/all:
sudo chown -R amedee /var/www/sites/all

Then it worked.
But I find that insecure. I really don't want an ftp user to be able to write in my drupal directory.

jabapyth’s picture

you don't want ftp access to your site? that seems to be good enough for most people..... ;)
you can always go with SSH, if you have the required libraries.

Scott J’s picture

May I give a belated thank you to amedee for this information. I have Plugin Manager working on hosted sites, but had no idea how to set it up on my own desktop.