Re: C5 : Deleting un-deletable files ?

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



On 2014-09-14, Bill Campbell <centos@xxxxxxxxxxxxx> wrote:
> On Sun, Sep 14, 2014, Always Learning wrote:
>>
>>The fsck cured the problem.  The problem files were removed by fsck
>>during its recovery/rectification.
>
> The first thing you should do when you find files or directories
> is use 'lsattr' to check the attributes.

The OP already did that.

> You can use the 'chattr' command to change the attributes with
> something like 'chattr -i /bin/ps' to remove immutable attribute.

The OP tried chattr, and reported that it failed for certain files.
This is why other people suggested an fsck; these are both indicators of
a damaged filesystem.

--keith


-- 
kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux