Subject: Re: Perl in chrooted area...?
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Mats <netbsd@comhem.se>
List: netbsd-users
Date: 10/31/2006 08:34:51
On Mon, Oct 30, 2006 at 07:55:57PM -0500, Steven M. Bellovin wrote:
> Do you get an error message?  Try using the 'chroot' command to run some
> script in that subtree and see what it prints. 

That was an excellent debugging command. I did chroot -u root
/home/www and that gave the following from the script, the print
command in perl couldn't be executed.
print: not found
When trying just type perl gave -
perl: 1: Syntax error: word unexpected (expecting ")")

I'm still stucked but that gave me hope at least. Should I create
some tmp or null directory or something like that? 

//Regards