[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: This file...I cannot kill it!



On Wed, 24 Nov 2004, Paul Johnson wrote:
> I got an interesting message out of cron today....
> /etc/cron.daily/checksecurity:
> find: /home/baloo/.kde/share/config/kcmartsrc: Permission denied
> 
> ...and I started thinking, "Oh, maybe if I get rid of that file, I might be 
> able to get arts to start working right again...."  Well, I try to rm it as a 
> normal user, and I get Permission denied.  Try rm that file again, and again, 
> I get Permission denied as root.  I can't change permissions on it, either.
> 
> root@ursine:~/.kde/share/config$ ls -l /home/baloo/.kde/share/config/kcmartsrc
> ls: /home/baloo/.kde/share/config/kcmartsrc: Permission denied
> 
> How could this happen, and how can I fix it?

1. check /proc/mounts to make sure that file is not in a RO partition or
some other weirdness.
2. lsattr it to make sure it is not an immutable file
3. rm it as really root.

Failing that, assume something is very, very wrong. Umount everything,
force-fsck everything (if using xfs, xfs_repair it).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: