Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm getting the Connection Information error when trying to install a plugin. Steps I have already done:

sudo usermod -a -G www-data shutter
sudo chgrp -R www-data /var/www
sudo chmod -R g+w /var/www
sudo find /var/www -type d -exec chmod 2775 {} \;
sudo find /var/www -type f -exec chmod ug+rw {} \;

I'm able to SFTP into the /var/www dir and write files using my shutter account.

However, I get the error when installing a plugin.

---- As I have less than 10 rep, I cannot solve my own question. But here is how I did.

groupadd development
sudo groupadd development
sudo usermod -a -G development www-data
sudo usermod -a -G development shutter
sudo chown -R www-data:development /var/www
sudo chmod -R g+rws /var/www/

And then I restarted Apache

sudo service apache2 restart
share|improve this question
    
See: wordpress.stackexchange.com/a/96454/21376 Who owns the files? –  s_ha_dum Apr 20 '13 at 0:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.