On Wed, Jun 14, 2017 at 01:09:47PM +0200, Solne Rapenne wrote:
> Je 2017-06-14 13:02, Bryan Harris skribis:
> >On Linux I have mounted another fs inside the user's home folder (it is
> >mounted twice).  I don't know if OpenBSD has that feature.
> >
> 
> This is not possible on OpenBSD, mount will tell "device is busy".
> 
> On linux you should use mount --bind to bind a folder on another instead
> of mounting twice the mountpoint. FreeBSD has mount_nullfs to do exactly
> the same thing as --bind, but OpenBSD doesn't have any of this.

Do you build a shell server or you just want to give SFTP access
to users' web data?

If the latter, why don't you just chroot them directly into their
user dir inside web root? Or, just define their home to be inside
web chroot...

j.

Reply via email to