Alex Sassmannshausen <alex.sassmannshau...@gmail.com> skribis: > Running dmd as a non-privileged user currently results in (by default): > - log: ~/.dmd.log > - config: ~/.dmdconf.scm > - an attempt being made to create a socket at > $LOCALSTATEDIRE/var/run/dmd/socket, which fails because poor muggins > has no write permissions there (from what I can tell). > > I would propose changing the above, Emacs stylee, so that we get the > following by default: > - log: ~/.dmd/dmd.log > - config: ~/.dmd/init.scm (or dmdconf.scm if preferred, though init is > probably better known to people familiar with emacs.) > - socket: ~/.dmd/socket
That makes sense, yes. (I realized I’m running dmd unprivileged with --prefix=$HOME/foo, so it had no problem with the socket directory. But that’s definitely not the common case.) [...] > I think that would make it a more useful tool for managing your own > daemons, and it would also become more newbie friendly. Agreed. > I'm happy to implement the above, or whatever comes out of this > discussion. > > What do you think? I think it’s a good idea! :-) The relevant bits are in support.scm. Thanks, Ludo’.