]> git.eshelyaron.com Git - emacs.git/commit
Add a DirectoryMode to the Emacs Server example
authorUlrich Ölmann <u.oelmann@pengutronix.de>
Mon, 14 Dec 2020 15:02:54 +0000 (16:02 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 14 Dec 2020 15:02:54 +0000 (16:02 +0100)
commitf6454ad6cd0dba9ab7ebff9b2959c05a607442ed
tree4471f30adb9037df68bbdc4c31efc9bb76dbb181
parente8a358c3be90949645a1038cfd43553794c49441
Add a DirectoryMode to the Emacs Server example

* doc/emacs/misc.texi (Emacs Server): Update example

* doc/emacs/misc.texi (Emacs Server): The socket containing directory
is per default created with permissions 0755 by the socket-unit.
However this is considered unsafe since commit [1], so enhance unit
example with systemd configuration directive `DirectoryMode=' to
create it with safe permissions, see
https://www.freedesktop.org/software/systemd/man/systemd.socket.html#DirectoryMode=

[1] 2003-04-12 "(server-socket-name): Use new safe location for socket."

Copyright-paperwork-exempt: yes
doc/emacs/misc.texi