Problem with perms on /etc/mailman3/mailman.cfg while following https://docs.list.org/en/latest/install/virtualenv.html on new mailman3 Debian 12 installation

Hello to all:
Trying to install mailman3 for the first time on Debian 12 virtual machine. I tried to search for relevant and related posts, but could not find any.
I'm following along the documentation and I get stuck after this step https://docs.list.org/en/latest/install/virtualenv.html#setup-mailman-user
I'm finding that there's a problem while trying to edit /etc/mailman3/mailman.cfg
The instructions https://docs.list.org/en/latest/install/virtualenv.html#installing-mailman-c... do not say what to do with existing file.
root@shackleton12:~# ls -alF /etc/mailman3/mailman.cfg -rw-r--r-- 1 root list 11119 Mar 20 11:45 /etc/mailman3/mailman.cfg
Should we move the /etc/mailman3/mailman.cfg out of the way and create new file as user and group mailman:mailman ?

On March 25, 2025 1:20:22 AM GMT+07:00, Philip Bondi <pjbondi@systemdatabase.com> wrote:
The instructions https://docs.list.org/en/latest/install/virtualenv.html#installing-mailman-c... do not say what to do with existing file.
root@shackleton12:~# ls -alF /etc/mailman3/mailman.cfg -rw-r--r-- 1 root list 11119 Mar 20 11:45 /etc/mailman3/mailman.cfg
Should we move the /etc/mailman3/mailman.cfg out of the way and create new file as user and group mailman:mailman ?
How did that file get there? It looks like at some point you installed the Debian package. If you are following <https://docs.list.org/en/latest/install/virtualenv.html you shouldn't install the Debian package. In any case, just remove the file.
Probably it's best to remove the Debian package completely and start over.
-- Mark Sapiro <mark@msapiro.net> Sent from my Not_an_iThing with standards compliant, open source software.

Thx very much, Mark.
I think I was following from https://docs.list.org/en/latest/install/distro.html#debian-install. I felt this page implied that I should install the packages. Then I clicked "next" and followed instructions on https://docs.list.org/en/latest/install/virtualenv.html
participants (2)
-
Mark Sapiro
-
Philip Bondi