Hello all,
I’m trying to give a developer temporary ftp access to a directory.
I normally ftp via ssh, though trying to keep things simple I thought only giving them access to the theme directory regular FTP would be sufficient.
I set up the user -> adduser demo
Changed their home directory to the theme directory -> usermod -m -d /path/to/theme/directory/ demo
Setup FTP following this tutorial -> https://www.digitalocean.com/community/tutorials/how-to-set-up-vsftpd-on-ubuntu-12-04
When I try and connect via Filezilla I get the message -> Error: Connection timed out Error: Could not connect to server
Just wondering if I’m missing anything.
Thanks in advance. D
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Ok, now I have the port open and the user in the correct group I am getting the error “500 OOPS: vsftpd: refusing to run with writable root inside chroot()”
I’ve followed a couple of tutorials and questions and did the following sudo chown root:root /var/www/html sudo chmod 755 /var/www/html sudo service vsftpd restart
I was still getting the error so try giving the temp user ownership of the directory that need work on without any luck
Thanks in advance, D
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.