[Mailman-Users] Archives, the "Forbidden Zone"

Nathan Fiedler nfiedler at bluemarsh.com
Sun Nov 21 21:43:15 CET 2004


On Sun, 2004-11-21 at 09:29 -0800, Kenneth Porter wrote:
> That'd be my guess. You could try asking on the Fedora-Users list, or 
> perhaps the selinux list. I know this issue came up involving copying and 
> moving files between the web directories and web space in a user's home 
> directory (eg. ~/public_html), and that there's some kind of "context" 
> attribute that needs to be assigned to the directories and files. But I 
> don't recall the details. This is probably like learning how to use chmod 
> and chown for Windows users.

It turns out the problem was simple and so was the solution. When
importing my existing list data and archives from another machine, I did
not know to update the selinux context labels appropriately. Thus, the
kernel was unable to determine if the apache user was allowed to access
the files. Normally it should be, but without the labels it wouldn't
succeed.

To correct the labels, I ran both of these commands as root:

# fixfiles relabel
# restorecon -Rv /var/lib/mailman

Their descriptions sound very similiar so I probably only needed one of
them.

Thanks again

nathan





More information about the Mailman-Users mailing list