Hi,
You also need the shared libs that ls needs, or a static version
of it.
create /tmp/empty/lib and put there the files it needs (which
you can find with ldd(1)).
Didi
On Mon, Feb 04, 2002 at 09:34:00PM +0200, Gil Elad wrote:
> Hi,
>
> I'm running Debian woody with 2.4.17.
>
> For s
On Mon, 4 Feb 2002, Gil Elad wrote:
> Hi,
>
> I'm running Debian woody with 2.4.17.
>
> For some reason, I'm having trouble getting chroot(8) to work. i.e.,
> running the following commands as root (taken almost word for word from
> the info page):
>
> # mkdir /tmp/empty
> # cp /bin/ls /tmp/empty
Hi,
I'm running Debian woody with 2.4.17.
For some reason, I'm having trouble getting chroot(8) to work. i.e.,
running the following commands as root (taken almost word for word from
the info page):
# mkdir /tmp/empty
# cp /bin/ls /tmp/empty
# cd /tmp/empty
# ls -l
total 44
-rwxr-xr-x1 ro