files with strange permissions and attribute

BERES Laszlo beres.laszlo at sys-admin.hu
Thu Jun 14 19:24:32 UTC 2007


Ali, Saqib wrote:

> I am not a sysadmin. Can you please provide the syntax for this cmd?

Just run lsattr in the problematic directory:

[root at station8 ~]# lsattr
------------- ./anaconda-ks.cfg
------------- ./install.log
------------- ./install.log.syslog

If you see any other things in the first fields that above, it means
somebody modified some extended attributes.

The other solution might be disk problem, so:

> which logs should I be looking at?

Open /var/log/messages and look for something like this:

Jun  7 17:42:09 station8 smartd[2424]: Device: /dev/hda, is SMART
capable. Adding to "monitor" list.

If you see smartd error messages, then replace your hard drive(s) quickly.

-- 
BÉRES László     RHCE, RHCX
senior IT engineer, trainer




More information about the redhat-list mailing list