Updated remote script

Jesse Rosenthal jrosenthal at jhu.edu
Thu Jan 19 12:31:02 PST 2012


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.

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.

Thanks again,
Jesse


More information about the notmuch mailing list