[Mailman-Users] Archives Permission Denied

Mark Sapiro mark at msapiro.net
Tue Feb 25 12:12:55 EST 2020


On 2/25/20 6:34 AM, Brian Carpenter wrote:
> On 2/25/20 5:49 AM, Dennis Putnam wrote:
>> IOError: [Errno 13] Permission denied:
>> '/var/lib/mailman/archives/private/rushtalk/2020-February.txt'
>>
>>   I ran check_perms and it found no issues. However, when I look at the
>> ownership of the archives I get this:
>>
>> -rw-r--r--.    1 root mailman   72404 Feb 16 14:26 2020-February.txt
>>
>> Shouldn't either the owner be mailman or permissions be -rw-rw-r--? TIA.
> 
...
> From what I am seeing with my own servers, the permissions should be 664.
> 

That's true, but more importantly, /var/lib/mailman/ should be 2775 and
group mailman as should all the sub-directories  archives, data, lists,
locks, logs, qfiles and spam. /var/lib/mailman/archives/private is
tricky. it should be group mailman and either 2771 or owned by the web
server user and 2770. See
<https://www.list.org/mailman-install/node9.html> for more on this.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list