Hi there I've tried to use rcp to copy one directory from one RS6000 server to another Rs6000 server. The authority of the directory/file was copied but not the ownership. Is it also possible to copy the ownership/group of the file?
Hi,
What you mean, when you say that you don't get the ownership. Do you get a number instead of a name ? If this is so, then the user (original owner of the file) did not exist on the target system. Please check this out. _______________________________________
greetings
AIXspecial - IBM C.A.T.E
Hello Midrange,
the best way to save authority and ownership is to use tar instead rcp.
for exampe:
in machne aaaa you have direstory /aaadir which content you want
to copy into directory bbbbdir in machne bbbb.
MACHNE aaaa
# cd aaaa
# tar -cvf - * | rsh bbbb "cd bbbbdir; tar -xvf -"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.