cp -p and/or
scp -p will probably work for you
...from cp man page
-p Preserve. cp duplicates not only the contents of
source_file, but also preserves the owner and group
id, permission modes, modification and access time,
ACLs, and extended attributes, if applicable. Notice
that the command may fail if ACLs are copied to a file
system without appropriate support. The command will
not fail if unable to preserve extended attributes,
modification and access time, or permission modes. If
unable to preserve owner and group id, cp will not
fail, and it will clear S_ISUID and S_ISGID bits in
the target. cp will print a diagnostic message to
stderr and return a non-zero exit status if unable to
clear these bits.
In order to preserve the owner and group id, permis-
sion modes, and modification and access times, users
must have the appropriate file access permissions.
This includes being superuser or the same owner id as
the destination file.
http://www.linuxquestions.org/questi...ssions-480735/
Bookmarks