[Users] [Bug 2828] Use MD5 digest for socket name

Rich Pieri richard.pieri at gmail.com
Thu Nov 29 22:01:26 CET 2012

On Thu, 29 Nov 2012 20:51:27 +0100
Holger Berndt <berndth at gmx.de> wrote:

> That's in the eye of the beholder. XDG, for example, thinks such stuff
> belongs into $XDG_RUNTIME_DIR, and thinking about it, I tend to agree.

XDG usually uses a private directory under /tmp (commonly $TMPDIR as
acquired from PAM). This is a perfectly valid way to do it. It should
be easy for me to modify the patch to use
/tmp/claws-mail-${UID}/${md5sum} for the per-configuration lock socket.

Ricardo's shared configuration directories are unsupportable this way.
Can't have it both ways without giving users the ability to override
CM's behavior via switch or configuration option.

Rich P.

More information about the Users mailing list