Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 61954 invoked from network); 29 Aug 2008 19:44:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2008 19:44:59 -0000 Received: (qmail 77517 invoked by uid 500); 29 Aug 2008 19:44:52 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 77494 invoked by uid 500); 29 Aug 2008 19:44:52 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 77483 invoked by uid 99); 29 Aug 2008 19:44:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 12:44:52 -0700 X-ASF-Spam-Status: No, hits=-8.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eric.berg@lehman.com designates 146.127.241.212 as permitted sender) Received: from [146.127.241.212] (HELO cfextrelay1.lehman.com) (146.127.241.212) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 19:43:54 +0000 Received: from njsmtplxmgmac01.lehman.com (njsmtplxmgmac01.lehman.com [10.30.7.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cfextrelay1.lehman.com (Postfix) with ESMTP id D1BFC4A0838; Fri, 29 Aug 2008 15:43:53 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by njsmtplxmgmac01.lehman.com (8.12.11/8.12.11) with SMTP id m7TJhsOJ011968; Fri, 29 Aug 2008 15:43:54 -0400 Received: from njpcmg1exms305.leh.lbcorp.lehman.com ([10.30.136.113]) by nypcmg1excb304.leh.lbcorp.lehman.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 29 Aug 2008 15:43:28 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: a require problem Date: Fri, 29 Aug 2008 15:43:28 -0400 Message-ID: <5CAFF755525FC5418CCF35FAEB2683BE12A31A90@njpcmg1exms305.leh.lbcorp.lehman.com> In-Reply-To: <22449.85.82.195.151.1220036465.squirrel@mail.genomics.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: a require problem Thread-Index: AckKCZmkoSAC36QHTK+9oL8iueVGKgABdZ7A References: <29442068.298881220018094174.JavaMail.www@wwinf8201> <264855a00808290704g542f24eep1a6395f8379ee320@mail.gmail.com> <5CAFF755525FC5418CCF35FAEB2683BE12A31A7C@njpcmg1exms305.leh.lbcorp.lehman.com> <66887a3d0808290946y779a22abm6023841dacd67fd2@mail.gmail.com> <5CAFF755525FC5418CCF35FAEB2683BE12A31A8A@njpcmg1exms305.leh.lbcorp.lehman.com> <66887a3d0808291035hf2e04acoc08965f742024a1f@mail.gmail.com> <5CAFF755525FC5418CCF35FAEB2683BE12A31A8D@njpcmg1exms305.leh.lbcorp.lehman.com> <22449.85.82.195.151.1220036465.squirrel@mail.genomics.dk> From: "Berg, Eric" To: Cc: "modperl perl apache org" X-OriginalArrivalTime: 29 Aug 2008 19:43:28.0868 (UTC) FILETIME=[8299E240:01C90A0F] X-messagegate_id: 6E420AD9B56 X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org For me, it's the same on both. What could be the problem here? How can we take the next steps in debugging this? ERic=20 > -----Original Message----- > From: niels=40genomics.dk =5Bmailto:niels=40genomics.dk=5D=20 > Sent: Friday, August 29, 2008 3:01 PM > To: Berg, Eric > Cc: modperl perl apache org > Subject: RE: a require problem >=20 > Could it be that during forking a different effective user id is > set, which is what -x checks? are =24<, =24>, =24( and =24) all the same > under cgi and mod_perl? >=20 > (it sounds like /usr/bin/rcsdiff is not a symbolic link, which > could be treated differently maybe, followsymlinks, etc) >=20 > Niels L >=20 > > The mod_perl server and the CGI server are the same. It's just a > > handler configured for CGI's for *.cgi and mod_perl for=20 > *.pl, and I've > > symlinked from a .pl to the .cgi. > > > > The web server for CGI and mod_perl and the command line=20 > run were all > > done as the same user. > > > > Code like this: > > > > warn =22=24cmd is =22 . (-x =24cmd ? =22=22 : =22 not=22) .=22 = EXECUTABLE=5Cn=22 ; > > warn =60ls -l =24cmd=60; > > > > Yields this under mod_perl: > > > > /usr/bin/rcsdiff is not EXECUTABLE > > -rwxr-xr-x 1 root root 49388 Sep 21 2004 /usr/bin/rcsdiff > > > > and this from the command line and > > > > /usr/bin/rcsdiff is EXECUTABLE > > -rwxr-xr-x 1 root root 49388 Sep 21 2004 /usr/bin/rcsdiff > > > > and in a CGI: > > > > /usr/bin/rcsdiff is EXECUTABLE > > -rwxr-xr-x 1 root root 49388 Sep 21 2004 /usr/bin/rcsdiff > > > > Same server, CGI vs mod_perl, different behavior. > > > > Probably not permissions. But what? > > > > Eric >=20 >=20 >=20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - - - - This message is intended only for the personal and confidential use of the = designated recipient(s) named above. If you are not the intended = recipient of this message you are hereby notified that any review, = dissemination, distribution or copying of this message is strictly = prohibited. This communication is for information purposes only and = should not be regarded as an offer to sell or as a solicitation of an = offer to buy any financial product, an official confirmation of any = transaction, or as an official statement of Lehman Brothers. Email = transmission cannot be guaranteed to be secure or error-free. Therefore, = we do not represent that this information is complete or accurate and it = should not be relied upon as such. All information is subject to change = without notice. -------- IRS Circular 230 Disclosure: Please be advised that any discussion of U.S. tax matters contained within = this communication (including any attachments) is not intended or written = to be used and cannot be used for the purpose of (i) avoiding U.S. tax = related penalties or (ii) promoting, marketing or recommending to another = party any transaction or matter addressed herein.