From: Jan Svitok Date: 2006-10-13T23:48:25+09:00 Subject: Re: Why does 'chroot' interfere with 'system'? On 10/13/06, Martin Coxall wrote: > > Could this be it? You could check by verifying the return > > value of the various calls to Kernel.system, no? > > The odd thing is, that seems like the obvious answer. However, if you > take only the first two lines: > > Dir.chroot(Dir.pwd) > Kernel.system('echo "new file" > foo') > > I'd expect that to work, because 'echo' is a builtin on most shells. > But it doesn't, not on a random debian box I just tried. I don't > understand that. As the previous posters said: do you have your shell in the chrooted dir?