Have you tried with cp -rpa That will work.
Better option is to user tar command.
With Regards,
Snehal Vyas
Ramesh Patel wrote:
Dear All
i have two server of linux RHL9.0. and both have same user.
Now i want to copy file from one server to other server with same
ownership and same permission.
i mount one directory form one server to other server's smbmount.
but when copy i check on other server that time owner was nobody and
permission was also change.
i use cp -avR * /mnt/otherserverdir
but not set ownership and permission.
please help me
Ramesh Patel
System Dept.
Banasdairy, Palanpur(B.K.)
E-Mail : [EMAIL PROTECTED]
Mobile : 94263 91295
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help