Home folder only SFTP connection has limited access

Posted by Tomasz Durka on Server Fault See other posts from Server Fault or by Tomasz Durka
Published on 2012-04-03T10:36:00Z Indexed on 2012/04/03 17:33 UTC
Read the original article Hit count: 298

Filed under:
|
|
|

I have configured sftp access for user using this guide: Linux shell to restrict sftp users to their home directories?

I have problem though.

I have taken all steps. I have chown'ed root:user the home folder and I set permissions to 755.

I can login normally using SFTP, however I can NOT transfer files, can NOT mkdir directories. If I change permissions to 777 it's ok do edit everything. However this is the thing I don't want. Additionally after exiting sftp and reconnecting then connection is reset by peer (due to setting 777).

Anyone had similar problem? What I am doing wrong?

© Server Fault or respective owner

Related posts about linux

Related posts about shell