Hello Team,

I have a problem with the FTP manager. First of all I configured my FTP server as described here:
http://drupal.org/node/1608658

Although my drupal admin user is: drupal/****** I log in in the FTP as described in the page before as: user/pass, anonymous and blank password

But still I have a problem which I think is related to permissions:
chart

Error installing / updating
File Transfer failed, reason: Cannot create directory /var/www/cartaro/sites/all/modules

Just for reference:

rcastillo135@Michinin:/var/www/cartaro/sites/all$ ls -lah
total 20K
drwxr-sr-x 4 root www-data 4,0K oct 19 10:51 .
drwxr-sr-x 4 root www-data 4,0K oct 19 10:51 ..
drwxr-sr-x 2 root www-data 4,0K nov 30 13:11 modules
-rw-r--r-- 1 root www-data 347 oct 19 10:51 README.txt
drwxr-sr-x 2 root www-data 4,0K oct 19 10:51 themes
rcastillo135@Michinin:/var/www/cartaro/sites/all$

Please let me know how to proceed, not sure what is going on.

Many thanks in advance

Rafa

Comments

augustus.kling’s picture

Status: Active » Closed (won't fix)

Without knowing a lot about your setup, it seems your user is simply not permitted to create files in /var/www/cartaro/sites/all/modules. Make sure that your FTP user is member of the group www-data and that this group has write permission to /var/www/cartaro/sites/all/modules.

Given that the issue is not specify to Cartaro in any way I recommend to ask the developers of the FTP manager in case the above pointers don't help.

kingkastle4004’s picture

Thanks Augustus,

I give up and start using the traditional way downloading directly using wget from the terminal.

Thanks anyway

DanZ’s picture

Status: Closed (won't fix) » Closed (duplicate)

This is a bug reported at #842620: Update manager can't install modules using FTP due broken FileTransferAuthorizeForm.

Please provide whatever troubleshooting information you can there.