Re: Query - Regarding strange behaviour.

From: Martin Zwickel
Date: Thu Feb 03 2005 - 11:39:03 EST


--Signature_Thu__3_Feb_2005_17_33_05_+0100_hVNcF9T1ubZ6V8DF
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 3 Feb 2005 21:48:12 +0530
"Pankaj Agarwal" <pankaj@xxxxxxxxxxxx> 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...
>=20
> here's the output of the two commands you've asked for..
>=20
> [root@test usr]# ls -ld /usr/bin
> drwxr-xr-x 2 root root 61440 Nov 21 20:30 /usr/bin
>=20
> [root@test usr]# lsattr -d /usr/bin
> su--ia------- /usr/bin

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

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

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

--=20
MyExcuse:
bad ether in the cables

Martin Zwickel <martin.zwickel@xxxxxxxxxxxxxx>
Research & Development

TechnoTrend AG <http://www.technotrend.de>

--Signature_Thu__3_Feb_2005_17_33_05_+0100_hVNcF9T1ubZ6V8DF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCAlJBmjLYGS7fcG0RAka5AKCGJF4gJKtrOveV2kPVYjCTcrqokgCghfxN
rW8ZoQOPwB/9F0XgnLZYDKw=
=ccKg
-----END PGP SIGNATURE-----

--Signature_Thu__3_Feb_2005_17_33_05_+0100_hVNcF9T1ubZ6V8DF--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/