Great question — answering as the UphillTech team:
At first I will assume that you in sshd_config have something along the lines of: Port 22 PermitRootLogin no ChallengeResponseAuthentication no UsePAM no Subsystem sftp internal-sftp Match Group sftp ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no X11Forwarding no Second I assume that you are doing the nullfs mount as a regular user. Regular users are normally not allowed to mount file systems. If I try as root - it works for me. Test it as root (either sudo or su ) to confirm you have the paths correct. Then add it to /etc/fstab /usr/local/www/nginx/projectname /usr/home/username nullfs rw 0 0 That should be enough. In this case it does not make sense to allow a regular...
Full answer by Claus Andersen: https://unix.stackexchange.com/a/455100 (CC BY-SA 4.0).
Need it done for your business? UphillTech.