Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204433 - /var/cache/fonts is world-writable
Summary: /var/cache/fonts is world-writable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: TeX project
URL:
Whiteboard: Fixed in TeX Live 2008
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-05 15:14 UTC by cazzantonio
Modified: 2008-09-22 19:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cazzantonio 2008-01-05 15:14:16 UTC
/var/cache/fonts is world writable since tex needs this to create font cache.
Having such a directory world writable can be a security risk.
This can be solved simply creating a group "texusers", and giving write access to /var/cache/fonts only to that group.
The only downside would be that users that need to use tex (and willing to use font cache feature) would be required to belong such a group.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-05 15:29:11 UTC
I don't see anything in tetex stuff that'd create that dir world writable...
Comment 2 Alexis Ballier gentoo-dev 2008-01-05 15:33:10 UTC
this is done in texmf-update, this is a known one, there are docs in kpathsea about it that says the "security" risk is very low.
There are other issues aswell.

see:
http://groups.google.com/group/linux.gentoo.dev/browse_thread/thread/bf2e58fe200c0676/b72be3596cd2eb31
Comment 3 Alexis Ballier gentoo-dev 2008-09-07 22:12:15 UTC
(In reply to comment #2)
> this is done in texmf-update, this is a known one

forced /var/cache/fonts to be world writable will be dropped from texlive 2008


> There are other issues aswell.

which should all be fixed by now
Comment 4 Alexis Ballier gentoo-dev 2008-09-22 19:05:43 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > this is done in texmf-update, this is a known one
> 
> forced /var/cache/fonts to be world writable will be dropped from texlive 2008

now tl2008 is in the tree, still masked though, let's close this one anyway so that I can keep track easily of unfixed bugs.