[Mailman-Users] Wrong perms?(fwd) Cron <mailman at patronus> /usr/lib/mailman/cron/nightly_gzip

Mark Sapiro mark at msapiro.net
Sat Jul 11 07:40:47 CEST 2015


On 7/10/15 5:11 PM, Steve Matzura wrote:
> On Thu, 09 Jul 2015 08:00:38 -0700, Mark wrote:
> 
>> On 07/09/2015 06:48 AM, Steve Matzura wrote:

>>> ...
>>> IOError: [Errno 13] Permission denied:
>>> '/var/lib/mailman/lists/mailman/config.pck'
>>>
>>> This file is owned by root and is in the mailman group. 
>>>
>>> check_perms reports no problems found.
>>
>>
>> In that case, these are almost certainly SELinux issues. Google things like
>>
>> selinux logging
>> redhat disable selinux
>> redhat disable selinux without reboot
>>
>> for information.
> 
> I checked to see if SELinux is even enabled on this system. It isn't.
> getenforce says disabled.


What happens if you do

sudo -u mailman file /var/lib/mailman/lists/mailman/config.pck

If that fails with permissions denied, you'll need to figure out why. If
it succeeds, you'll vave to figure out why you running as 'mailman' can
access the file, but cron running as 'mailman' can't.

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