From: Kirk Strauser (no email)
Date: Wed Mar 04 2009 - 11:41:49 EST
On Wednesday 04 March 2009 10:19:01 Wietse Venema wrote:
> Kirk Strauser:
> > $ sudo /usr/local/www/data/bugzilla/email_in.pl < /tmp/bugtest
> This executes the command as ROOT. This test is invalid because:
> > Mar 4 09:46:31 web2 local: fatal: execvp
> > /usr/local/www/data/bugzilla/email_in.pl: No such file or directory
> This executes the command as NON-ROOT.
For the benefit of others:
Fixed by creating a new aliases-www file with group www and adding that to
alias_maps and alias_database, then moving the alias to that file so the piped
command runs with group www.
-- Kirk Strauser