Skip to Content.
Sympa Menu

en - Re: [sympa-users] Message::new() Cannot open message file ... Permission

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Simon Taylor <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Message::new() Cannot open message file ... Permission
  • Date: Wed, 19 Nov 2008 09:06:04 +0100

Hi,

Simon Taylor a écrit :
I think my configuration is set up correctly:

1. Apache is configured to run as User apache, Group apache

2. My ScriptAlias is:

ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi

3. The wwsympa-wrapper.fcgi file in the bin dir appears to have been correctly
setuid to sympa:

-rwxr-xr-x 1 sympa sympa 631082 Nov 2 22:58 wwsympa.fcgi
-rwxr-xr-x 1 sympa sympa 86 Nov 2 22:58 wwsympa_sudo_wrapper.pl
-rwsr-sr-x 1 sympa sympa 6022 Nov 2 22:58 wwsympa-wrapper.fcgi

I've noticed that when the message first appears in the spool/msg directory, it has
these permissions:

-rw------- 1 root mail
No.
It should have these permissions:
-rw-r----- 1 sympa sympa
This way, Sympa could handle the message.
As your settings on wwsympa seem correct (still, you should check that wwympa.fcgi is run under the right uid with a ps -ef | grep sympa), it must come from somewhere else.

Please check that the queue program has the right permissions. Something like:

-rwsr-xr-x 1 sympa sympa 12133 Nov 18 16:05 bin/queue

(note that it has the S bit)
Regards,

Is that correct?

Regards,

Simon

--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page