Hello,
On Wed, Oct 02, 2024 at 08:05:44AM -0000, Chupin Maxime via Mailman-users wrote:
Thank you. So, using
mailman-web makemigrations --merge
asroot
is the right way to do it (as it call userwww-data
). Unfortunately, I get the error wrote in my first message: PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/django_q/migrations/0015_merge_0010_auto_20220618_2315_0014_schedule_cluster.py'
I did not use makemigrations so far.
It is well possible that files that were prepared were on the wrong UID, check
ls -la /usr/lib/python3/dist-packages/django_q/
(especially since debian separates mailman3 and mailman3-web users)
You could change the owner manually (chown www-data '/usr/lib/python3/dist-packages/django_q/*), but I prefer you get advice from others on the list.