[Mailman-Users] Inaccessible public archives
Mark Sapiro
mark at msapiro.net
Sat Jul 5 16:24:14 CEST 2008
Bill Christensen wrote:
>At 6:59 PM -0700 7/4/08, Mark Sapiro wrote:
>>
>>What does Apache say when you try to access a public archive? What's in
>>Apache's error log?
>
>Symbolic link not allowed.
This says you need
Options +FollowSymLinks
in a
<Directory /usr/local/mailman/archives/public>
or superordinate block.
>>What are the ownership and permissions of
>>/usr/local/mailman/archives/private ? In particular, is it either
>>owned by the apache user or o+x ?
>
>
>they were were
>
>drwxrws--- nobody mailman private
>drwxrwsr-x billc mailman public
>
>I looked on the old hd and found them set as
>
>drwxrwx--- billc mailman private
>drwxrwxr-x billc mailman public
>
>I tried a perms fix, but that didn't do the trick.
Permissions and ownership should be as in the first set, assuming
Apache runs as user 'nobody'.
>
>So I tried changing them to that. Bad idea, now I'm getting a "we've
>hit a bug in mailman 2.1.9..." message when logging in to the web
>interface. I tried another perms fix, and the symptoms are
>unchanged.
>
>Help, Mr Wizard! I have no idea how to set an "rws" to get it back
>to broken but generally functional.
chmod g+s will do it, but just to make sure everything is right, do it
this way:
chmod 2770 /usr/local/mailman/archives/private
chown nobody:mailman /usr/local/mailman/archives/private
chmod 2775 /usr/local/mailman/archives/public
Then put the Options +FollowSymLinks in an appropriate Directory block
in the Apache config.
--
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