On 2024-06-08 14:48, Mark Sapiro wrote:
The "PermissionError: [Errno 13] Permission denied: '//var/templates'" is what it says. It is trying to create the absolute path /var/templates and user mailman3 doesn't have permission to create a templates/ directory in /var.
I'm not sure why this is. It should be trying /opt/mailman3/mm/var/templates. What does
I experienced the fun of having /var being where mailman3 tried to create files & folders.
Some combo of the following worked for me:
mailman3.service Environment="MAILMAN_CONFIG_FILE=/etc/mailman3/mailman.cfg"
/etc/mailman3/mailman.cfg [paths.here] var_dir: /opt/mailman/mm/var
I explicitly set many / most of the other vars in that section too (i.e. lock_dir was one that also caused issues).
This might be the Wrong Way, but it solved issues similar to the ones being discussed.
rb