Subject: The mailing list for listmasters using Sympa
List archive
- From: Cefiar <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] alias_manager problem with 5.3a
- Date: Tue, 09 Sep 2008 17:33:06 +1000
Nick Holden wrote:
Running from the command line...
/home/sympa/bin/alias_manager.pl add aliastestlist unionlists.org.uk
.. puts aliases correctly into the database, and running...
/home/sympa/bin/alias_manager.pl del aliastestlist unionlists.org.uk
... takes them away again. So the script works nicely but is not called
to run from the wwsympa!
I would guess Oliver is right on the money re: permissions. To test that yourself from the command line, you need to ensure that you run the scripts as the user the web scripts is being run as. (I'm assuming that you're running the commands above from your own shell.)
Have you tried running them as the sympa user?
Try these commands instead:
su sympa -s /bin/bash -c "/home/sympa/bin/alias_manager.pl add aliastestlist unionlists.org.uk"
su sympa -s /bin/bash -c "/home/sympa/bin/alias_manager.pl del aliastestlist unionlists.org.uk"
Also in place of sympa try www-data (or whatever user your websserver runs as). AFAIK, it should run as sympa, but YMMV, depending on your setup.
--
Stuart Young - aka Cefiar - address@concealed
-
[sympa-users] alias_manager problem with 5.3a,
Nick Holden, 09/05/2008
-
Re: [sympa-users] alias_manager problem with 5.3a,
Olivier Salaün, 09/08/2008
-
Re: [sympa-users] alias_manager problem with 5.3a,
Nick Holden, 09/09/2008
- Re: [sympa-users] alias_manager problem with 5.3a, Olivier Salaün, 09/09/2008
- Re: [sympa-users] alias_manager problem with 5.3a, Cefiar, 09/09/2008
-
Re: [sympa-users] alias_manager problem with 5.3a,
Nick Holden, 09/09/2008
-
Re: [sympa-users] alias_manager problem with 5.3a,
Olivier Salaün, 09/08/2008
Archive powered by MHonArc 2.6.19+.