Re: [Exim] uid of perl functions

Pàgina inicial
Delete this message
Reply to this message
Autor: Frank Heydlauf
Data:  
A: exim-users
Assumpte: Re: [Exim] uid of perl functions
On Tue, Dec 17, 2002 at 06:10:55PM +0100, Frank Heydlauf wrote:

> [ router calling a perl function which is not allowed to access a
> file (file readonly for uid popowner), see prev. mail for details ]


>         data = ${perl{get_destinations}}

...
> Problem: the perl function seems to work with UID of exim
> and therefore is not allowed to read this file.
> Setting the options
>     user = popowner
>     group = popowner
> has no effect :(


at least anybody who can confirm this behaviour?

FYI some results of my experiments:

The function is running with uid 0 (shown by $> and $<) but
creates a new file with owner exim (uid 72).

Trying to set the uid on my own ( $> = 70; # popowner) results in
getting uid 72 (exim).

BTW -
adding the exim-uid to the group popowner does not work either :(

--
regards
Frank