Is there a way I can preserve the permissions of a file when I use cp to copy it?
For example, say I want to copy /var to /mnt/nd/var.
Files in /var are owned by many different people, but when I copy the files from /var to /mnt/nd/var as root, the files are all owned by root.
How can I make it so that I can copy files, while not changing/perserving their ownership and permissions?
Thanks!