[Mailman-Users] Permission Denied Error after List Migration
Stephen J. Turnbull
turnbull at sk.tsukuba.ac.jp
Wed Aug 6 08:38:34 CEST 2014
Sascha Rissel writes:
> (N.B: All file permissions are set according to my previous server's, but I
> also tried: "chown -R list.list /var/lib/mailman/lists/""
Try running the bin/check_perms script (or maybe it's checkperms).
The wrapper scripts may have a different idea from you about file
owners etc.
>
> Can you help me?
>
> Regards,
> Sascha.
>
> > Aug 05 19:53:33 2014 (21848) Failed config.pck write, retaining old state.
> > [Errno 13] Permission denied:
> '/var/lib/mailman/lists/rcworms-ah/config.pck.tmp.euve51864.serverprofi24.de.21848'
> > Aug 05 19:53:33 2014 admin(21848):
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > admin(21848): [----- Mailman Version: 2.1.15 -----]
> > admin(21848): [----- Traceback ------]
> > admin(21848): Traceback (most recent call last):
> > admin(21848): File "/var/lib/mailman/scripts/driver", line 112, in
> run_main
> > admin(21848): main()
> > admin(21848): File "/var/lib/mailman/Mailman/Cgi/admin.py", line 227,
> in main
> > admin(21848): mlist.Save()
> > admin(21848): File "/var/lib/mailman/Mailman/MailList.py", line 573, in
> Save
> > admin(21848): self.__save(dict)
> > admin(21848): File "/var/lib/mailman/Mailman/MailList.py", line 528, in
> __save
> > admin(21848): fp = open(fname_tmp, 'w')
> > admin(21848): IOError: [Errno 13] Permission denied:
> '/var/lib/mailman/lists/rcworms-ah/config.pck.tmp.euve51864.serverprofi24.de.21848'
> > admin(21848): [----- Python Information -----]
> > admin(21848): sys.version = 2.7.3 (default, Mar 13 2014, 11:03:55)
> > [GCC 4.7.2]
> > admin(21848): sys.executable = /usr/bin/python
> > admin(21848): sys.prefix = /usr
> > admin(21848): sys.exec_prefix = /usr
> > admin(21848): sys.path = ['/var/lib/mailman/pythonlib',
> '/var/lib/mailman', '/usr/lib/mailman/scripts', '/var/lib/mailman',
> '/usr/lib/python2.7/', '/usr/lib/python2.7/plat-linux2',
> '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
> '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages']
> > admin(21848): sys.platform = linux2
> > admin(21848): [----- Environment Variables -----]
> > admin(21848): HTTP_COOKIE:
> > admin(21848): SERVER_SOFTWARE: Apache
> > admin(21848): SCRIPT_NAME: /mailman/admin
> > admin(21848): SERVER_SIGNATURE: <address>Apache Server at
> lists.euve51864.serverprofi24.de Port 80</address>
> > admin(21848):
> > admin(21848): REQUEST_METHOD: GET
> > admin(21848): PATH_INFO: /rcworms-ah
> > admin(21848): SERVER_PROTOCOL: HTTP/1.1
> > admin(21848): QUERY_STRING: adminpw=AH_MAILAdmin
> > admin(21848): HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.3; WOW64;
> rv:31.0) Gecko/20100101 Firefox/31.0
> > admin(21848): HTTP_CONNECTION: keep-alive
> > admin(21848): SERVER_NAME: lists.euve51864.serverprofi24.de
> > admin(21848): REMOTE_ADDR: 95.88.111.84
> > admin(21848): PATH_TRANSLATED:
> /var/www/vhosts/default/htdocs/rcworms-ah
> > admin(21848): SERVER_PORT: 80
> > admin(21848): SERVER_ADDR: 62.75.175.182
> > admin(21848): DOCUMENT_ROOT: /var/www/vhosts/default/htdocs
> > admin(21848): PYTHONPATH: /var/lib/mailman
> > admin(21848): SCRIPT_FILENAME: /usr/lib/cgi-bin/mailman/admin
> > admin(21848): SERVER_ADMIN: webmaster at rc-worms.de
> > admin(21848): HTTP_DNT: 1
> > admin(21848): HTTP_HOST: lists.euve51864.serverprofi24.de
> > admin(21848): REQUEST_URI:
> /mailman/admin/rcworms-ah?adminpw=AH_MAILAdmin
> > admin(21848): HTTP_ACCEPT:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> > admin(21848): GATEWAY_INTERFACE: CGI/1.1
> > admin(21848): REMOTE_PORT: 50425
> > admin(21848): HTTP_ACCEPT_LANGUAGE:
> de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
> > admin(21848): HTTP_ACCEPT_ENCODING: gzip, deflate
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: https://mail.python.org/mailman/options/mailman-users/stephen%40xemacs.org
More information about the Mailman-Users
mailing list