mikshaw
  
 
 
  
 
 
Group: Members 
Posts: 4856 
Joined: July 2004 | 
  | 
Posted: May 11 2006,18:49 | 
   | 
 
 
  
Sounds like a bug that everybody overlooked =o)
  Running the man script in DSL creates the file /tmp/man, but it apparently is not removed afterward (or maybe man was closed before /tmp/man was removed...i don't know what perl is doing most of the time).  So if you run it as root, the /tmp/man file will be owned as root, and cannot be modified later by a regular user.
  To fix this, use the command sudo rm /tmp/man to delete the temp file as root, then you should be able to use man as a regular user.
  John: What if the "/tmp/man" file was instead "/tmp/man-$USER"?  I know some people might be uncomfortable having a file called "man-root" on their systems, but it's just an idea. 
  -------------- http://www.tldp.org/LDP/intro-linux/html/index.html
 |