[Unison-hackers] Unison on El Capitan

David E. Filip dfilip at colornet.com
Tue Dec 15 10:30:35 EST 2015


Ah, yes, thanks, that worked!  Much appreciated!

What was throwing me off was that if I ssh to a shell, I do have /usr/local/bin in my path, which I am not adding myself.

In a slap-to-the-forehead ‘duh’ moment, I went back through my history, as I thought that I verified the path last night by using:

$ ssh minerva.colornet.com echo $PATH

which of course just displays the LOCAL PATH, and should have been:

$ ssh minerva.colornet.com echo \$PATH

which reveals that the REMOTE PATH is just:

/usr/bin:/bin:/usr/sbin:/sbin

So thanks for pointing that out!

On Dec 15, 2015, at 10:21 AM, Alan Schmitt <alan.schmitt at polytechnique.org> wrote:

> On 2015-12-15 16:06, David E. Filip <dfilip at colornet.com> writes:
> 
>> Here is the profile that I’m using:
>> 
>> # Unison preferences file
>> root = /Users/dfilip/Music/iTunes
>> root = ssh://minerva.colornet.com//Volumes/BACKUP500GB/iTunes
>> ignore = Name {.DS_Store}
>> ignore = Name {._*}
> 
> You need to add:
> servercmd = /usr/local/bin/unison
> 
>> So is there some other piece that I’m missing which is preventing the unison
>> command from being found on the El Capitan (minerva.colornet.com) system?
> 
> ssh does not put /usr/local/bin in the PATH by default, so it does not
> find the unison binary there.
> 
> Best,
> 
> Alan
> 
> -- 
> OpenPGP Key ID : 040D0A3B4ED2E5C7
> Athmospheric CO₂ (Updated December 13, 2015, Mauna Loa Obs.): 401.31 ppm

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20151215/98664342/attachment.html>


More information about the Unison-hackers mailing list