Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to transfer a directory from my local server to a remote server on the exact same place on the remote server. In the directory, there are a lot of different users involved and I want to preserve those.

What command do I have to use then and will Rsync be the smartest option.

For reference, the dir is /home/minecraft/multicraft/servers/

share|improve this question

Rsync has the -a or achive option that will maintain permissions for you as well as a few other things. To just maintain permissions, use -p. Read the man page for rsync and it explains it all.

share|improve this answer
Plus one for RTFM – Lucas Kauffman Mar 21 '13 at 14:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.