[Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

Mark Sapiro mark at msapiro.net
Wed Jul 24 14:04:12 EDT 2019

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

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

More information about the Mailman-Users mailing list