View previous topic :: View next topic |
Author |
Message |
andrzejpw n00b
Joined: 02 May 2002 Posts: 46
|
Posted: Sat May 11, 2002 1:18 am Post subject: What the? Can't copy! |
|
|
I'm trying to copy the icewm directory as root to my username.
So,
cd /usr/lib
cp icewm /home/andrzejpw/.icewm
It spits out cp: ommiting directory icewm
I've tried billions of things. copying to /root, etc. HELP! |
|
Back to top |
|
|
Psychephylax n00b
Joined: 10 May 2002 Posts: 44 Location: Smithtown, NY
|
Posted: Sat May 11, 2002 1:25 am Post subject: |
|
|
It could be because it's a directory
try cp -r path/to/folder _________________ Stupidity, like hydrogen, is one of the basic building blocks of the Universe. |
|
Back to top |
|
|
FINITE Guru
Joined: 10 May 2002 Posts: 449
|
Posted: Sat May 11, 2002 1:26 am Post subject: |
|
|
Have you looked at the permssions for the file? Is it being copied to a different partition or drive maybe? I would look at the permissions personally. |
|
Back to top |
|
|
andrzejpw n00b
Joined: 02 May 2002 Posts: 46
|
Posted: Sat May 11, 2002 2:02 am Post subject: |
|
|
It is a directory. Let me go check if that works.
I'm VERY confused about permissions. Can't root do ANYTHING? |
|
Back to top |
|
|
Psychephylax n00b
Joined: 10 May 2002 Posts: 44 Location: Smithtown, NY
|
Posted: Sat May 11, 2002 2:17 am Post subject: |
|
|
Root can do everything. I don't think permissions are your problem. _________________ Stupidity, like hydrogen, is one of the basic building blocks of the Universe. |
|
Back to top |
|
|
andrzejpw n00b
Joined: 02 May 2002 Posts: 46
|
Posted: Sat May 11, 2002 2:38 am Post subject: |
|
|
Yup! cp -r worked! |
|
Back to top |
|
|
Psychephylax n00b
Joined: 10 May 2002 Posts: 44 Location: Smithtown, NY
|
Posted: Sat May 11, 2002 4:28 am Post subject: |
|
|
Glad I could help _________________ Stupidity, like hydrogen, is one of the basic building blocks of the Universe. |
|
Back to top |
|
|
Jeevz Bodhisattva
Joined: 15 Apr 2002 Posts: 195 Location: Boston, MA
|
Posted: Sat May 11, 2002 11:51 am Post subject: |
|
|
Check out the man page for cp. You will find other helpful options (for example -p and -a can be useful, especially while copying directories). |
|
Back to top |
|
|
|