Skip to contentSkip to conversation

mailinglist owner subscribe?

DISCUSSION Morten K. Poulsen 1 participant 1 message Aug 30, 2006

lore
Share & tools
lore
#0 lore raw

Hi Christian,

Quoted 3 lines · Christian Nygaard

I've tried chgrp subscribers.d folder and the files in it to list owners group + emacs to edit them but as soon as someone unsubscribes from the list the permissions are changed back to nobody.nobody ownership.

That is because the unsunbscribe process is as follows:

- create a temporary file (which by default is owned by nobody:nobody, if your mail server runs as that)

- copy the subscriber list - minus the newly unsunscribed user - to the temporary file

- rename the temporary file to the name of the old subscriber list

Rename is atomic, so there is no risc of having a broken list if mlmmj crashes or - more likely ;) - a hardware failure occures.

Quoted 1 line

Is there some mailinglist owner command that I missed that can be used?

If you set the s-bit on a directory (chmod g+s my_dir), files created in that directory will by default have their group set to the directory's group. That will solve your issue.

... or you can just use sudo and mlmmj-sub as Mads Martin suggested :)

Morten

Signature · 2 lines
Morten K. Poulsen <[email protected]>
http://www.afdelingp.dk/