Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60710 - /usr/bin/man cannot remove /var/cache/man/cat1/* files which breaks (in this case) 'man ls'
Summary: /usr/bin/man cannot remove /var/cache/man/cat1/* files which breaks (in this ...
Status: RESOLVED DUPLICATE of bug 40322
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 13:14 UTC by bugs.gentoo.org
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 bugs.gentoo.org 2004-08-17 13:14:03 UTC
In some cases 'man <command>' leaves behind an empty cached file in /var/cache/man/cat*/* . Subsequently, it is impossible for a normal user to get the manual page of this command. Running 'man <command>' as root will recreate a correct cached version, and will remove the problem.

Reproducible: Always
Steps to Reproduce:
1. End up with an empty /var/cache/man/car*/<command> file (turn off computer at wrong time, log off with kill -9, ...)
2. Do 'man command'
3.

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


Expected Results:  
Give ls man page

Gentoo Base System version 1.5.2
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.8-rc2)
=================================================================
System uname: 2.6.8-rc2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -g -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /usr/X11R6/lib/X11 /etc/env.d"
CXXFLAGS="-O2 -g -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache nostrip sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi acpi4linux alsa avi berkdb bidi bindist bonobo caps cddb
cdr chroot crypt cscope cups curl dga dillo directfb dnd dvd emacs encode evo
faad fam fbcon ffmpeg fftw flac flash foomaticdb gb gdbm gif gnome gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile imap imlib irda jack java javascript jbig jikes
joystick jpeg kde lcms libdsk libg++ libgda libwww linguas_en linguas_nl lirc
ltsp mad mbox memlimit mikmod mmx mng motif mozilla mozp3p mozsvg mpeg msn music
ncurses nls offensive ofx oggvorbis opengl oss pam pdflib perl pic png ppds
python qt quicktime quotes radeon readline ruby samba scanner sdl skey sox
speedo speex spell sse ssl stencil-buffer t1lib tcltk tcpd theora tiff
transparent-proxy truetype type1 usb v4l vim-with-x wmf x86 xchattext xemacs
xine xinerama xml2 xmms xosd xv xvid yahoo zlib zvbi"
Comment 1 SpanKY gentoo-dev 2004-08-17 15:11:57 UTC

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