Terry Barnum
2016-06-15 21:53:17 UTC
This is not specifically an rsnapshot question but I'm hoping someone might have some insight.
I have a MacBook Pro user who updated to 10.11 which prevents (even root) from writing into /usr/bin. On previous OSes I used to copy a somewhat current version of rsync (3.0.7) in there and symlink rsync to it. No problem I thought, I'll copy it into /usr/local/bin/ instead which is really where it should've gone anyway. Doing an 'rsync --version' on the MacBook Pro shows 3.0.7 so /usr/local/bin/ is in the path prior to /usr/bin. But when the rsnapshot server runs and connects to the MacBook Pro, rsnapshot throws this error:
***@mbp:/Users/elcapuser rsync error: syntax or usage error (code 1) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(1333) [server=2.6.9]
For some reason the MacBook Pro appears to still be running the old version installed with the OS. I can't find the above main.c path on it. Not sure what's going on. Any ideas?
Thanks,
-Terry
Terry Barnum
digital OutPost
Carlsbad, CA
http://www.dop.com
800/464-6434
I have a MacBook Pro user who updated to 10.11 which prevents (even root) from writing into /usr/bin. On previous OSes I used to copy a somewhat current version of rsync (3.0.7) in there and symlink rsync to it. No problem I thought, I'll copy it into /usr/local/bin/ instead which is really where it should've gone anyway. Doing an 'rsync --version' on the MacBook Pro shows 3.0.7 so /usr/local/bin/ is in the path prior to /usr/bin. But when the rsnapshot server runs and connects to the MacBook Pro, rsnapshot throws this error:
***@mbp:/Users/elcapuser rsync error: syntax or usage error (code 1) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(1333) [server=2.6.9]
For some reason the MacBook Pro appears to still be running the old version installed with the OS. I can't find the above main.c path on it. Not sure what's going on. Any ideas?
Thanks,
-Terry
Terry Barnum
digital OutPost
Carlsbad, CA
http://www.dop.com
800/464-6434