Je 2017-06-14 10:33, Markus Rosjat skribis:
Hi there,

I want to build an sftp environment where the user is chrooted to his
home dir. So far so good but then again the user might need access to
a webserver resource like /var/www/htdocs/some_dir

As far as I understand a symlink doesnt work in the chroot setup and
Im not quiet sure how to achieve this.

I could simply make /var/www/htdocs/some_dir the home dir of the user
but Im not sure if this is the recommended way.

so once again adivce  is helpful :)

regards

hello
you can change the home user folder to one in /var/www/htdocs/
or if the home user in the same mountpoint as /var/www you could
do a hard link folder with ln.

Reply via email to