Samba Mount in chroot

Beatnik on 2004-03-31T09:09:41

smbmount //10.0.0.1/pubdir1 /root/f -o username=user
Password:
mount error: Operation not permitted
Please refer to the smbmnt(8) manual page
smbmnt failed: 255


Quite strange, I'm doing this as root under a chrooted environment. Eventually I solved this by mounting the directory in the chroot directory structure BEFORE actually chrooting.