I can't access to archives of my mailman lists :

Ph. Gras ph.gras at worldonline.fr
Tue Sep 19 11:42:21 UTC 2017


Thanks Francis,

> From what you have shown, if your nginx user is not "list"
> or in the group "list", it will possibly not have access to
> /var/lib/mailman/archives/private.

# ls -lLZ /var/lib/mailman/archives/public/rs-idf-discuter/index.html
-rw-rw-r-- 1 list list ? 8736 sept. 17 16:44 /var/lib/mailman/archives/public/rs-idf-discuter/index.html
# ls -lLdZ /var/lib/mailman/archives/public/rs-idf-discuter
drwxrwsr-x 23 list list ? 4096 sept. 17 18:17 /var/lib/mailman/archives/public/rs-idf-discuter
# ls -lLdZ /var/lib/mailman/archives/public
drwxrwsr-x 2 list list ? 4096 sept. 16 18:47 /var/lib/mailman/archives/public
# ls -lLdZ /var/lib/mailman/archives
drwxrwsr-x 4 list list ? 4096 nov.  11  2016 /var/lib/mailman/archives
# ls -lLdZ /var/lib/mailman
drwxrwsr-x 8 list list ? 4096 nov.  11  2016 /var/lib/mailman
# ls -lLdZ /var/lib
drwxr-xr-x 47 root root ? 4096 sept.  9 23:36 /var/lib
# ls -lLdZ /var
drwxr-xr-x 14 root root ? 4096 sept.  9 23:37 /var
# ls -lLdZ /
drwxr-xr-x 23 root root ? 4096 sept. 11 12:59 /

# adduser www-data list
Ajout de l'utilisateur « www-data » au groupe « list »...
Ajout de l'utilisateur www-data au groupe list
Fait.

# vi /etc/group
list:x:38:www-data

# curl -I http://poste.enpret.com/pipermail/rs-idf-discuter/
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 19 Sep 2017 11:35:04 GMT
Content-Type: text/html
Content-Length: 8736
Last-Modified: Sun, 17 Sep 2017 14:44:03 GMT
Connection: keep-alive
ETag: "59be8a33-2220"
X-Robots-Tag: noindex, noarchive
Accept-Ranges: bytes

It works ;-)

Ph. Gras



More information about the nginx mailing list