ppr-list-digest volume 5, number 45, message 7

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: David Chappell <David.Chappell@trincoll.edu>
Date: Mon, 04 Aug 2003 14:49:38 -0400
Subject: Re: PPR: No ppop launch from PPOP.pm

Kenneth Tindle wrote:
> David,
> 
> I might well have screwed up and caused my own problem.
> 
> I did some poking inside PPOP.pm.  The regular expression is OK!
> The $junk scalar is empty (length zero) right after the 'my $junk...'
> line.  I uncommented the debug line that prints "Launching:"...
> and so I know things are happy going into open2().
> 
> Is this a permissions problem??  This is what I have for the
> 'ppop' executable in /usr/lib/ppr/bin:
> 
> -rws--s--x  ppr  ppr

This is fine.  Any user can execute ppop.

> paths.ph has the correct path to ppop, and the uncommented debug
> line makes it clear that this does get picked up OK.  So it isn't
> a pathing problem.
> 
> Will open2() spit out an error if denied permission?  It looks
> like ppop is not being launched, yet open2() does not complain.
> This is why the regular expression is provided?

I don't know what open2() does on failure.  Yes, the regular expression 
is there to make sure that communictions will ppop have been established.

> Does the ppop executable get launched as ppr, pprwww, or root?

Since it is launched by a CGI script which is launched by ppr-httpd 
which Inetd runs as pprwww, ppop will get run as pprwww.

- -- 
================================================================
David Chappell			David.Chappell@Mail.Trincoll.Edu
Computing Center		Postmaster@Mail.Trincoll.Edu
Trinity College			(860) 297-2114
Hartford, Connecticut 06106
U.S.A.