Updated remote script

Tomi Ollila tomi.ollila at iki.fi
Fri Jan 20 03:02:51 PST 2012


On Thu, 19 Jan 2012 15:31:02 -0500, Jesse Rosenthal <jrosenthal at jhu.edu> wrote:
> Hi Tomi,
> 
> On Thu, 19 Jan 2012 19:50:38 +0200, Tomi Ollila <tomi.ollila at iki.fi> wrote:
> > Quick comments: "/tmp/notmuch_dtach.socket" is dangerous (and the _ssh).
> > 
> > either
> >         make directory /tmp/notmuch_`id -u`
> >         and chmod it to 0700
> >         and make sure you own it and it has right permissions.
> > or
> >         make directory for these sockets in $HOME and chmod that to 700
> > or
> >         just drop the socket in $HOME/.ssh (which should already be
> >         protected)
> 
> Thanks very much for that. I made some quick changes, based on your
> first suggestion above. I'm pretty sure the checks are not in the most
> optimal order, but it seemed worth getting the changes up.

Indeed!

> As always, of course, anyone is more than welcome to change and improve
> the version up there. I was mainly changing it just to get my last
> error-ridden version out of circulation.

I'll probably play with that in (far ;) future...

> 
> Thanks again,
> Jesse

Thanks, good script!

Tomi


More information about the notmuch mailing list