debuntu.org — How-To: copy files over the network and preserve file permissions and informations with ssh and rsync When copying files over the network, the files informations can be modified. When using cp, one can avoid this issue by using the -a which will do the copy in archive mode, meaning that it will keep the links, preserve mode, ownership and timestamp