Re: Query - Regarding strange behaviour.

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

 



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

----- Original Message ----- From: "S Iremonger" <exxsi@xxxxxxxxxx>
To: "Pankaj Agarwal" <pankaj@xxxxxxxxxxxx>
Cc: <linux-os@xxxxxxxxxxxx>; <linux-kernel@xxxxxxxxxxxxxxx>; "Linux Net" <linux-net@xxxxxxxxxxxxxxx>
Sent: Thursday, February 03, 2005 9:37 PM
Subject: Re: Query - Regarding strange behaviour.



>its not even allowing me to copy it ...then surely it wont allow me mv as
well... what else can i try...
[root@test root]# mount
/dev/hda2 on / type ext3 (rw)
[root@test /]# cd /usr
[root@test usr]# cp bin testbin
cp: omitting directory `bin'

"cp" does not normally copy direcrories as such by DEFAULT.

Use the "-R" flag on "cp" to make it 'recurse' and copy the whole
 directory and directory/files under it.

e.g. "cp -R bin bincopy"


And, show us all the results of the following 2 commands, please.

ls -ld /usr/bin
lsattr -d /usr/bin

--S Iremonger <exxsi@xxxxxxxxxx>


- : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux