Re: can not write to queue directory, only works if chmoded to 777
"Joe R. Jah" <[email protected]>
| Newsgroups | gmane.mail.majordomo.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 20 Dec 2004, [ISO-8859-1] Ruben Sanchez Lopez-Tofiño wrote: > Date: Mon, 20 Dec 2004 23:52:17 +0100 > From: "[ISO-8859-1] Ruben Sanchez Lopez-Tofiño" <[email protected]> > To: [email protected] > Subject: can not write to queue directory, only works if chmoded to 777 > > first, I'm sorry but my english is very bad. > > > I have installed last version of majordomo and I've a problem: > > all go good during instalaltion, but when I do: echo 'help' | mail > listserv: > > [majordom@al-basit majordomo]$ echo 'help' | mail listserv > [majordom@al-basit majordomo]$ WARNING: RunAsUser for MSP ignored, check > group ids (egid=12, want=77) > can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, > required=77): Permission denied > > > I definded MAIL_GID = 77 in Makefile, and I added majordom user to 77 > group, but that no solved nothing > > as in this machine nobody login, finaly I do: > > chmod 777 /var/spool/clientmqueue > > and majordomo work fine, but this is a dirty solution. There are other > best solution? Does your wrapper have correct permissions? See the FAQ: http://www.greatcircle.com/majordomo/majordomo-faq.html#2.1 Read the whole 2.1 section, or at least page down to The Wrapper. > Thanks. Regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah [email protected]