openssh sftp chroot
Posted
by
Zulakis
on Server Fault
See other posts from Server Fault
or by Zulakis
Published on 2012-10-02T11:19:36Z
Indexed on
2012/10/02
15:40 UTC
Read the original article
Hit count: 181
I chrooted a user to the directory /var/www/upload
using ChrootDirectory /var/www/upload
in my etc/ssh/sshd_config
.
The permissions of all the files in var/www/upload
is 755 and owner is root:upload_user.
However, I still cannot modify the files. (Getting a permission denied error.)
Is it possible if I create a subdirectory with ownership upload_user:upload_user
.
Is it, by any means, possible to allow my chrooted user to write to his / directory?
© Server Fault or respective owner