On Sun, 22 Dec 2002 13:33:00 +0000 (GMT) Chris Glover chris@glovercc.clara.co.uk wrote:
When you isue the cp command use cp -pd WHATEVER...
-p keeps ownership permissions the same -d is no dereference, ie it copies sym links as symlinks, and doesn't convert them to regular files, so by the time you've got everything to where you want it, it should all work.
Actually it may have been me that expressed concern about links, born of experience of some other Unixes. The GNU cp command as supplied with Linux seems to be OK though provided you give it the right options. Chris says include -p and -d, and of course you need -r for recursive. The -a I suggested is equivalent to those three in combination.
Steve.