jails bash: /root/.bashrc: Permission denied

Hello,

I just installed /compat/ubuntu via debootstrap. Now I can chroot as root, but when I try normal user I get error
Code:
chroot -u myuser /compat/ubuntu /bin/bash
bash: /root/.bashrc: Permission denied
I can get into chroot but the home directory is not /home/myuser and it tries to read /root/.bashrc. How do I correct these?

Thanks.
 
Back
Top