Cannot access "man pages" as normal user - temp filename creation error.
Whenever I try to access a man page for a specific command as a non-root user I get the error message as below :
The permissions on the temp directory should be "rwxrwxrwt". You can create it with "sudo chmod a=rwxt /tmp".
However, check if the partition is out of free space. Some filesystems reserve some free space just for root. It could be that running man works for root but not a regular user because only root has the space to do it.
I had a similar problem on my laptop recently. However even root couldn't use man but the message was that the man page file itself couldn't be read. ( ltrace man <topic> would work however ) I think the problem was when I copied some files as root to a /usr/share/doc/<whereever/directory> and used the -p option. It changed the permissions of /usr/local/ denying the less command from reading the file.
I used "rpm -qV filesystem" to discover where the problem was. This is for an rpm based system. I'm sure a debian system has something similar.
Thanks a lot jschiwal. I checked the /tmp directory permissions and they were not set to world readable, writeable or executable and the sticky bit was not set. I was curious as to how this had happened but when you recalled your own similar experience I guess the changing of permissions must have happened when I too was copying files/directories from /tmp using the -p option.
Thanks again for the help !
|All times are GMT -5. The time now is 04:38 AM.|