/var/lib/sympa/static_content is not world readable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sympa (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sympa
The files under /var/lib/
By default, wwsympa.fcgi and sympa_soap_
Now, let's look at the technicalities. The following is run by the sympa postinst script (prefixed by line numbers):
337 chown -R sympa.sympa /var/spool/
338 chmod -R ug=rwX,o=X /var/spool/
In /usr/lib/
4975 sub do_skinsedit {
[...]
5005 foreach my $css ('style.
[...]
5040 ## Make the CSS readable to anyone
5041 chmod 0775, "$dir/$css";
5042 }
This leads me to believe that this would have worked had it not been for the chmodding in the postinst script (although setting the execute bit on a CSS file also seems a bit odd, if you ask me). Running do_skinsedit after installation would probably make the files world readable again, but I have not figured out how to make sympa call this function yet. And even if that worked an upgrade or reinstall of the sympa package would chmod the files back to ug=rwX,o=X.
Changed in sympa (Ubuntu): | |
status: | New → Fix Committed |