Copy directory and preserve all permissions in Linux
sudo cp -rp /var/ /mnt/var/
Usually needed when preparing a new mount point in a separate partition