
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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan