Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
write protected man files?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Mon Jun 21, 2004 6:13 pm    Post subject: write protected man files? Reply with quote

As a regular user:
man tar

and I get:
rm: remove write-protected regular empty file `/var/cache/man/cat1/tar.1.bz2'?


and it follows (nothing is ever shown)

rm: cannot remove `/var/cache/man/cat1/tar.1.bz2': Permission denied
Formatting page, please wait...
sh: line 1: /var/cache/man/cat1/tar.1.bz2: Permission denied
Error executing formatting or display command.
System command (cd /usr/share/man && (echo ".pl 1100i"; /bin/gunzip -c '/usr/sha re/man/man1/tar.1.gz'; echo; echo ".pl \n(nlu+10") | /usr/bin/gtbl | /usr/bin/nr off -Tlatin1 -c -mandoc | /bin/bzip2 > /var/cache/man/cat1/tar.1.bz2) exited wit h status 1.
rm: remove write-protected regular empty file `/var/cache/man/cat1/tar.1.bz2'? y
rm: cannot remove `/var/cache/man/cat1/tar.1.bz2': Permission denied

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Success
Input file = /var/cache/man/cat1/tar.1.bz2, output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Mon Jun 21, 2004 6:49 pm    Post subject: Reply with quote

sometimes I have similar problem; I have no idea what's causing it, but running that command as root usually fixes it (only for the first time, ordinary users can view it after that).
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Jun 22, 2004 11:43 am    Post subject: Reply with quote

Moved from Other Things Gentoo, please see this topic:

https://forums.gentoo.org/viewtopic.php?t=141667
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum