Page 1 of 1

Failed to lock chroot

Posted: Thu Jul 19, 2018 5:05 am
by liwenz
schroot -c red-pitaya-ubuntu <<- EOL_CHROOT
make
EOL_CHROOT
E: red-pitaya-ubuntu-41fd5f8f-3980-44e9-ab69-4b74b3664c1d: Failed to lock chroot: /home/liwenz/ecosystem_build/RedPitaya: File is not owned by user root

why i can't chroot?below is my /etc/schroot/chroot.d/red-pitaya-ubuntu.conf

[red-pitaya-ubuntu]
description=Red Pitaya Debian/Ubuntu OS image
type=file
file=/home/liwenz/ecosystem_build/RedPitaya
users=liwenz
root-users=liwenz
root-groups=root
profile=desktop
personality=linux
preserve-environment=true