0

I'm rsyncing from a remote linux box to my local solid state hard drive on my mac running High Sierra. I'm using the -a switch (archive) which is supposed to preserve the ownership of the group but the files are saved with my owner and group, not the ones on the remote server. Using disk utility, I see Owners is set to enabled.

I seem to remember being able to do this and the files would be saved with the UID and GID numbers.

Is this still possible?

  • 2
    Are you running rsync as root (i.e. with sudo)? – Gordon Davisson Jan 22 '18 at 3:22
  • 1
    Are the UIDs of users the same on both machines? – Mark Jan 22 '18 at 10:50
  • Ah, not running as sudo is probably it. I'm actually running rsync in a Perl script wrapper. The Perl script is owned by a regular user account. I'll have to figure out a way around this. Thanks. – StevieD Jan 22 '18 at 11:34
  • Hmm, I chgrp'ed the script to the admin group but it didn't have an effect. – StevieD Jan 22 '18 at 13:16

You must log in to answer this question.

Browse other questions tagged .