Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install Tapatalk plugin on my phpbb3 forum

enter image description here

Write method for automod is FTP and connection is successful. I think the FTP client might not have write permission to /var/www. How can I fix that? I'm using Ubuntu Server 12.04 with vsftpd.

drwxr-xr-x 3 root root 4096 Aug 19 02:07 www

Thanks!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You could change the ownership of /var/www to be the same owner that your FTP client uses.

For example if your FTP client runs as 'nobody' then use this command:

sudo chown nobody:nobody /var/www

Be aware that this will allow your FTP client to do anything to any of the files in /var/www and subdirectories. This might be a security risk. After the install is completed, you could always switch the ownership back to the root user again with:

sudo chown root:root /var/www
share|improve this answer
    
Thanks, you probably gave me the perfect answer to my question but I'm getting the same error so it might be something else. –  01BTC10 Aug 19 '13 at 13:27

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.