On Tue, Oct 02, 2007 at 02:00:58PM +0200, Olivier Berger wrote:
> 
> static content seems not accessible by Apache.
> 
> Directory is :
> # ls -l /var/lib/sympa/static_content/
> total 4
> drwxrwx--x 2 sympa sympa 4096 2007-10-02 13:05 css
> -rw-rw---- 1 sympa sympa    0 2007-10-02 13:05 index.html
> 
> I suggest that either its is o=rx or owned by apache user (www-data).
> 
> postinst contains this atm :
>     chmod -R ug=rwX,o=X /var/spool/sympa/wws* /var/lib/sympa/wws* 
> /var/lib/sympa/static_content*
> 

I made a mistake in my suggestion above.

I guess the postinst may be safely rewritten as :

  chmod -R ug=rwX,o=X /var/spool/sympa/wws* /var/lib/sympa/wws*
  chmod -R o=rX /var/lib/sympa/static_content

Any comments ?

Best regards,



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to