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` as `root` is the 
> right way to do it (as it call user `www-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.
_______________________________________________
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/53N5PIFXYAQNEO6E33XSU5ULIMIWPFD2/

This message sent to arch...@mail-archive.com

Reply via email to