Chroot TOR as explained on Wiki error

Csaba Kiraly kiraly at dit.unitn.it
Tue Nov 20 19:32:44 UTC 2007


SPKills wrote:
> Hi,
>
> Well, i followed instruction to chroot TOR as explained at 
> http://wiki.noreply.org/noreply/TheOnionRouter/TorInChroot
> No errors occur untill the test step where i got :
>       debian:/home/user/tor-0.1.2.18# chroot $TORCHROOT /tor/bin/tor
In this line you have a "space", i.e. chroot gets 2 parameters:
$TORCHROOT will be the root of the directory seen by the program
/tor/bin/tor is the program that should be executed ... but you don't 
have this file
>       chroot: cannot run command `/tor/bin/tor': No such file or 
> directory
>
> Execute $TORCHROOT/tor/bin/tor works fine...
this is one parameter, and you do have the file under
$TORCHROOT/tor/bin/tor
> Any ideas ?
chroot $TORCHROOT $TORCHROOT/tor/bin/tor

Csaba

ps.: I did not try it, just a guess ;)



More information about the tor-talk mailing list