[Charlotte.PM] charlotte Digest, Vol 23, Issue 6: chroot env

George McLaughlin irgem at earthlink.net
Tue Aug 29 20:20:33 PDT 2006


DOH!! Just read issue #5 and saw the rest of the thread. I thought you were trying to do something else...my bust. I don't know about what would cause the issue your having. 'chroot' will only change your working directory to the one you have listed as $root...and if $root is not included I believe it changes it to the current dir or $_...

It does sound more like a Apache or Unix question though. Did you install your Apache in a chroot env or set the SecChrootDir directive in the mod_secuirty module or does tomcat allow you to use that?

George McLaughlin

-----Original Message-----
>From: charlotte-request at pm.org
>Sent: Aug 29, 2006 3:00 PM
>To: charlotte at pm.org
>Subject: charlotte Digest, Vol 23, Issue 6
>
>Send charlotte mailing list submissions to
>	charlotte at pm.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://mail.pm.org/mailman/listinfo/charlotte
>or, via email, send a message with subject or body 'help' to
>	charlotte-request at pm.org
>
>You can reach the person managing the list at
>	charlotte-owner at pm.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of charlotte digest..."
>
>
>Today's Topics:
>
>   1. Re: Doing a chroot in Perl (William McKee)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 29 Aug 2006 11:57:09 -0400
>From: William McKee <william at knowmad.com>
>Subject: Re: [Charlotte.PM] Doing a chroot in Perl
>To: Christopher Fowler <cfowler at outpostsentinel.com>
>Cc: charlotte at pm.org
>Message-ID: <20060829155709.GP12628 at knowmad.com>
>Content-Type: text/plain; charset=us-ascii
>
>On Mon, Aug 28, 2006 at 05:47:23PM -0400, Christopher Fowler wrote:
>> I'm asking why was tomcat able to redirect the output to a file name
>> out.txt in / of the chroot.  / in the chroot is owned by root.
>
>Sorry but I can't be of much help there. I'm not very familiar with
>chroot. Have you tried CharLUG? This seems to me to be more of a OS
>issue than a Perl problem. Let us know if you figure it out.
>
>
>Good luck,
>William
>
>-- 
>Knowmad Technologies
>http://www.knowmad.com
>
>
>------------------------------
>
>_______________________________________________
>charlotte mailing list
>charlotte at pm.org
>http://mail.pm.org/mailman/listinfo/charlotte
>
>End of charlotte Digest, Vol 23, Issue 6
>****************************************



More information about the charlotte mailing list