On 7/24/19 10:44 AM, Robert Kudyba wrote:
> 
> 
> So no when trying to log in to the ~/mailman/admindb/mailman admin page I get 
> the below error, notice it’s a different permission problem:
> 
> Jul 24 13:41:51 2019 admin(5113): 
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
> admin(5113): [----- Mailman Version: 2.1.29 -----] 
> admin(5113): [----- Traceback ------] 
> admin(5113): Traceback (most recent call last):
> admin(5113):   File "/usr/lib/mailman/scripts/driver", line 117, in run_main
> admin(5113):     main()
> admin(5113):   File "/usr/lib/mailman/Mailman/Cgi/admindb.py", line 345, in 
> main
> admin(5113):     mlist.Save()
> admin(5113):   File "/usr/lib/mailman/Mailman/MailList.py", line 613, in Save
> admin(5113):     self.__save(dict)
> admin(5113):   File "/usr/lib/mailman/Mailman/MailList.py", line 590, in 
> __save
> admin(5113):     os.link(fname, fname_last)
> admin(5113): OSError: [Errno 1] Operation not permitted

the admindb script is trying to save the list to do this, it first
creates a temporary config.pck.tmp.hhh.ppp file there hhh is the host
name and ppp is the PID of the process and writes the data to that. It
then unlinks (removes) config.pck.last, links config.pck to
config.pck.last and finally renames config.pck.tmp.hhh.ppp to config.pck.

In your case it is the linking of config.pck to config.pck.last that is
failing.

All these files should be group 'mailman' and group writable and the
process should be running with effective group 'mailman'.

Did you see my reply about the file system needing to be mounted suid?

-- 
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
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/archive%40jab.org

Reply via email to