Hi,
On 04.11.24 02:06, Mark Sapiro wrote:
On 11/3/24 11:31, Arte Chambers via Mailman-users wrote:
We should probably cover this in the docs, but for /etc/mailman3, you
should do
```
sudo mkdir /etc/mailman3
sudo chown mailman:mailman /etc/mailman3
sudo chmod 755 /etc/mailman3
```
Then you can create all the subordinate files as the mailman user. For
other things like the systemd service and the postfix and web server
configs, you need to do them as root (via sudo).
is it really necessary that the mailman user can write that directory?
For most services, directories and files in /etc/ may be readable for
the service but usually not writable as you don't want the service
itself change it's core configuration.
On your server it looks like this:
# ls -la /etc/mailman3
total 28
drwxr-xr-x. 2 root mailman 95 Oct 25 08:12 .
drwxr-xr-x. 99 root root 8192 Oct 29 07:42 ..
-rw-r--r--. 1 root mailman 266 Oct 25 07:37 gunicorn.conf
-rw-r-----. 1 root mailman 92 Nov 21 2023 mailman-hyperkitty.cfg
-rw-r-----. 1 root mailman 797 Sep 9 11:20 mailman.cfg
-rw-r-----. 1 root mailman 3015 Oct 25 08:12 settings.py
and it works just fine.
Regards,
Gerald
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/H6DIILYNG4JVBZM7N4QULM3AL3PEC7MH/
This message sent to arch...@mail-archive.com