Hi guys, Time to change over the mail server and am copying down /home to the new server. I am currently trying to do this via scp, now i dont claim to be any expert but from reading the man pages on scp i should be able to use the -rp switches to 1. Copy recursively and 2. maintain file permissions of those directories and subdir.
Anyway my problem is twofold and i would really appreciate any assistance you guys could give. The first thing is copying the directories over, The command i am using is, scp -rp X.X.X.X /home/* /home/ Now this sure gets the directory down but then they are all owned by root and are in the root group. Now this is obviously going to be a problem. What am i doing wrong ? Does anyone out there know how to maintain the permissions of the files. The second issue is if i have the files down and they are all owned by root and in the root group, does anyone have a script that would allow me to change the ownership and groups of the 120 or so directorys. The ideal i spose would be to copy the necessary home directorys without changing the permissions in the first place. Sorry if it is a bit rambling, would be great if someone was able to assist. Regards Sebastian ATR Australia
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
