View Single Post
  #1   (View Single Post)  
Old 19th August 2019
jonsec jonsec is offline
Fdisk Soldier
 
Join Date: Jul 2019
Posts: 71
Question OpenBSD & SFTP ChrootDirectory !

hi.

i have test user.
in sshd_config i set ChrootDirectory for test user to /home/test.
i want test user access to /var/www/test/public_html.

we know pathname in ChrootDirectory must be root-owned, so if i set owner of /var/www/test to root, php-fpm can't access to this folder.(group is www)

how do i can?

NFS is good. but i dont know about security or performance.
and OpenBSD does not support mount --bind.
Reply With Quote