Thanks! Dean
-----Original Message----- From: Mark Sapiro <m...@msapiro.net> Sent: Tuesday, October 26, 2021 11:55 AM To: mailman-users@python.org Subject: [Mailman-Users] Re: check_arch script changing owner On 10/25/21 11:11 AM, Dean Collins wrote: > Using Mailman version: 2.1.33 packaged for cPanel. > > Running the script I obtained from > https://www.msapiro.net/scripts/check_arch changes directory and file > permissions and ownership. For example, in /archives/private/: > > drwxr-x--- 5 mailman username listname_mydomain.org > > becomes > > drwxrwxr-x 5 root root listname_mydomain.org > > And the list then stops archiving. Don't run Mailman scripts as root. Always run them as the Mailman user. > Is there a way to adjust the script? Or run some command afterwards to > set things back to where they were? You can run chmod and chown to set things back, but even if the script is run as root, I don't see how this would happen. The script opens the file read-only and only reads it. This must be a cPanel thing. See https://wiki.list.org/DOC/Mailman%20and%20CPanel -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/ ------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/