D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Permisssion denied even to root

 

A recent apt-get dist-upgrade has been exiting while upgrading kmail
with the reason "permission denied".

Doing apt-get install kmail as root produces
<snip>
Preparing to replace kmail 4:3.5.2-1 (using .../kmail_4%3a3.5.2-1+b1_i386.deb) ...
Unpacking replacement kmail ...
dpkg: error processing /var/cache/apt/archives/kmail_4%3a3.5.2-1+b1_i386.deb (--unpack): unable to stat `./usr/share/apps/kmail/about/kmail.css' (which I was about to install): Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kmail_4%3a3.5.2-1+b1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Doing apt-get remove kmail as root produces
<snip>
Removing kmail ...
dpkg: error processing kmail (--remove):
failed to delete `/usr/share/apps/kmail/icons/crystalsvg/128x128/actions/online_status.png.dpkg-tmp': Permission denied
Errors were encountered while processing:
kmail
E: Sub-process /usr/bin/dpkg returned an error code (1)

Delving into the kmail files produces

ls -l /usr/share/apps/kmail/icons/crystalsvg
total 0
?--------- ? ? ? ? ? /usr/share/apps/kmail/icons/crystalsvg/128x128 ?--------- ? ? ? ? ? /usr/share/apps/kmail/icons/crystalsvg/scalable
drwxr-xr-x 3 root root 72 Dec 25 22:30 16x16
drwxr-xr-x 3 root root 72 Dec 25 22:30 22x22

and

ls -l /usr/share/apps/kmail/about/
total 24
?--------- ? ? ? ? ? /usr/share/apps/kmail/about/kmail.css
-rw-r--r-- 1 root root  1607 Sep 10  2005 main.html
-rw-r--r-- 1 root root 17996 Sep 10  2005 top-right-kmail.png

Although I never use kmail does anyone know how to restore root's
access to these files or am I correct in suspecting a looming hard drive failure?

Keith







-
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html