Re: Query - Regarding strange behaviour.

From: S Iremonger
Date: Thu Feb 03 2005 - 11:18:25 EST


>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>

-
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/