Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 59400

Summary: Wrong permissions on /var/cache/man
Product: Gentoo Linux Reporter: L.Stohlmann <lutz.stohlmann>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2004.1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***