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

Mark Sapiro mark at msapiro.net
Wed Jul 24 13:11:01 EDT 2019


On 7/24/19 6:20 AM, Robert Kudyba wrote:
>>
>> Thus, this is almost certainly a SELinux issue. Try disabling SELinux.
>> If that solves the issue and you want to enable SELinux, you'll need to
>> review/update your SELinux Policy.
> 
> I should have mentioned it’s been disabled for quite a while:
> getenforce
> Disabled
> 
> My partial workaround so far has been to:
> chmod 666 /var/lib/mailman/lists/*/config.pck
> chattr +i /var/lib/mailman/lists/*/config.pck


chattr +i is certainly wrong. From `man chattr`


>        A file with the `i' attribute cannot be modified: it cannot be  deleted
>        or  renamed,  no  link  can  be created to this file and no data can be
>        written to the file.  Only the superuser or a  process  possessing  the
>        CAP_LINUX_IMMUTABLE capability can set or clear this attribute.

what does lsattr show for these files?

On my system, everything has 'e' and a few of the qfiles/ subdirectories
have 'I' and nothing else.

-- 
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