On Saturday 02 February 2002 01:27 pm, Gil Elad wrote: > Hello, > > I'm running woody with 2.4.17 > > for some reason I can't get chroot(8) to work. i.e. executing the > following command (almost word for word from the info page): > > $ mkdir /tmp/empty > $ cp /bin/ls /tmp/empty > $ cd /tmp/empty > $ chroot /tmp/empty /ls / > > yields: > > chroot: cannot execute /ls: No such file or directory
shouldn't that be cp /bin/ls /tmp/empty/ ?