Debian tips to chroot a user in it's home and add rights for www-data STEP 1 sudo apt-get -y install bindfs STEP 2 sudo mkdir -p /home/MYUSER/www sudo chown -Rf MYUSER:MYUSER /home/MYUSER/www