clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Nov. 20 2005,20:45 |
|
casio, did you try just plain old cp -r /KNOPPIX/etc/uucp /ramdisk/etc
Could it be that /KNOPPIX/etc/uucp is owned by root or someone else so when you try to move it it doesn't copy? Maybe try sudo cp -rp /KNOPPIX/etc/uucp /ramdisk/etc to copy the directory as root, copying all of the contents as well, and maintaining the permissions (with the p switch).
Is the /KNOPPIX/etc/uucp directory a link itself? Maybe the -d is confused by that? If so try copying the directory the link points to.
I'm not sure what's going on. I made a few directories to move around to play with and it looks like they behave differently than what you are seeing. I ran the following commands and saw what I thought should happen happen:
Code Sample | mkdir test1 # makes a directory called test1 mkdir test2 # makes a directory called test2 cp -r test1 test2 # copies test1 into test2 ls test2/ # shows test1 as a subdirectory of test2 cp -r test1 test2/test3 # copies test1 into test2, #calling the new directory test3 rather than test1 ls test2/ # shows test1 & test3 as subdirectories of test2 |
I hope you can find your answers.
|