Active
Project:
Plugin Manager
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2008 at 21:43 UTC
Updated:
8 Mar 2010 at 23:25 UTC
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
Comment #1
amedee-1 commentedUpdate:
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.
Comment #2
jabapyth commentedyou 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.
Comment #3
Scott J commentedMay 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.