[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exim and right permissions for execution of a perl script



Hi all, 
I have this entry in my /etc/aliases

db-test: "|/home/pokui/db_suite/primary_db.pl"

During the course of the program I modify files under
/home/pokui/db_suite and sometimes create new files under
/home/pokui/db_suite/somedir .

I tried setting the permissions of all the required files like so

chmod -R g+rw /home/pokui/db_suite
chgrp -R exim /home/pokui/db_suite

however, when I send mail to db-test at mydomain , I see in my
/var/log/exim_mainlog

2002-08-19 12:52:53 17gjDR-000216-00 **
|/home/pokui/dns_suite/primary_db.pl <db-test at mydomain> R=system_aliases
T=address_pipe: Child process of address_pipe transport returned 13 from
command: /home/pokui/db_suite/primary_db.pl 2002-08-19 12:52:53
17gjDR-00021E-00 <= <> R=17gjDR-000216-00 U=exim P=local
S=20492002-08-19 12:52:53 17gjDR-000216-00 Completed

...
and I only get satisfactory results when I chown exim
/home/pokui/db_suite.... is there a way round this (the need for the
directories to be owned by exim)?

Patrick. 
-- 
Patrick J Okui
Systems Administrator
One2Net (U) Ltd


-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org