Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59400 - Wrong permissions on /var/cache/man
Summary: Wrong permissions on /var/cache/man
Status: RESOLVED DUPLICATE of bug 40322
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 07:33 UTC by L.Stohlmann
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 L.Stohlmann 2004-08-04 07:33:09 UTC
 
Comment 1 L.Stohlmann 2004-08-04 07:39:03 UTC
Binary /usr/bin/man is setgid man
Cache dir /var/cache/man is owned by root:root and only 
writeable for root.
So, man can only save preformatted pages viewed by root

Fix:
chgrp -R man /var/cache/man
chmod -R g+w /var/cache/man (or even "chmod -R g+w,u-w /var/cache/man")

To disable saving of preformatted man pages entirely, i 
think it would be better to use the switch in /etc/man.conf.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-08-04 10:36:59 UTC

*** This bug has been marked as a duplicate of 40322 ***