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 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 29, 2008 3:01 PM
> To: Berg, Eric
> Cc: modperl perl apache org
> Subject: RE: a require problem
> 
> Could it be that during forking a different effective user id is
> set, which is what -x checks? are $<, $>, $( and $) all the same
> under cgi and mod_perl?
> 
> (it sounds like /usr/bin/rcsdiff is not a symbolic link, which
> could be treated differently maybe, followsymlinks, etc)
> 
> Niels L
> 
> > 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 
> *.pl, and I've
> > symlinked from a .pl to the .cgi.
> >
> > The web server for CGI and mod_perl and the command line 
> run were all
> > done as the same user.
> >
> > Code like this:
> >
> >       warn "$cmd is " . (-x $cmd ? "" : " not") ." EXECUTABLE\n" ;
> >       warn `ls -l $cmd`;
> >
> > 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
> 
> 
> 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - -

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.

Reply via email to