lkml.org 
[lkml]   [2005]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Query - Regarding strange behaviour.
On Thu, 3 Feb 2005 21:48:12 +0530
"Pankaj Agarwal" <pankaj@toughguy.net> bubbled:

> my fault...i'm able to copy it using -rf with CP. So, solution given
> by Dick Johnson (Linux-OS) can be used, if all are unable to find
> what's the problem...
>
> here's the output of the two commands you've asked for..
>
> [root@test usr]# ls -ld /usr/bin
> drwxr-xr-x 2 root root 61440 Nov 21 20:30 /usr/bin
>
> [root@test usr]# lsattr -d /usr/bin
> su--ia------- /usr/bin

i = IMMUTABLE, so you are unable to modify it.
a = only append mode for writing
u = allow undelete
s = zero the file if deleted

but s and u should currently not work on ext2/3.

Try "chattr -iusa /usr/bin" as root.

--
MyExcuse:
bad ether in the cables

Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development

TechnoTrend AG <http://www.technotrend.de>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.162 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site