Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a newbie on ubuntu server 12.10, I was following this guide

I don't understand why if my /home/myuser folder's owner is myuser I can't connect by sftp. So I have to do what the guide says: make root be the owner of /home/myuser and then create a folder /home/myuser/myfolder and set myuser as its owner.

Then I can connect with myuser by sfpt and I can see 'myfolder'. I can't upload files to / but only to /myfolder.

Why can't I just give the rights to write to myuser so when he connects by ftp he can upload files and create folders as he wants?

share|improve this question
@Hennes The question is on topic here; please don't suggest asking on another site as this usually encourages cross posting (and is hurting the community here). See Is it okay to inform users to stop promoting Apple.SE when a question is fine to stay here? (same thing for Ubuntu) – slhck Feb 26 '13 at 11:15
This question has the answer you're looking for: How can I chroot sftp-only SSH users into their homes? – Dennis Feb 26 '13 at 11:15

You must log in to answer this question.

Browse other questions tagged .