Hi!
I set up my Debian 7.1 droplet according to the tutorials, and created a new user with admin rights. I want to use that user to copy files over with WinSCP, but I get “scp /path permission denied” messages, even after giving that user chown and chmod 777 rights to my /var/www folder.
What should still be set up?
Csaba
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!
drwxrwxrwx 2 customuser root 4096 Dec 3 06:56 . <br>drwxr-xr-x 12 root root 4096 Dec 3 06:56 … <br>-rw-r–r-- 1 root root 177 Dec 3 06:56 index.html
Ok, my lack of knowledge… I thought that chown is recursive by default, but it’s not. <br>In order to change ownership of a directory and all of its files, you have to use chown -R. <br>This solved my problem. (Still would be nice to include in the initial server setup tutorial, though :) )
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.