Michael Heerdegen
2018-12-05 17:07:34 UTC
Hi,
I used to start a graphical Emacs for other user (Debian here btw) from
a running X session with gksu, an su frontend. Since some days,
starting the Emacs server from such an Emacs instance fails with
signal(file-error ("Creating directory" "Permission denied" "/run/user/1000/emacs"))
files--ensure-directory("/run/user/1000/emacs")
make-directory("/run/user/1000/emacs" t)
server-ensure-safe-dir("/run/user/1000/emacs")
server-start(nil inhibit-prompt)
User 1000 is the one owning the X session - i.e. the wrong one.
I dunno what makes the difference. Does anyone know why this could be
happening?
Thanks,
Michael
I used to start a graphical Emacs for other user (Debian here btw) from
a running X session with gksu, an su frontend. Since some days,
starting the Emacs server from such an Emacs instance fails with
signal(file-error ("Creating directory" "Permission denied" "/run/user/1000/emacs"))
files--ensure-directory("/run/user/1000/emacs")
make-directory("/run/user/1000/emacs" t)
server-ensure-safe-dir("/run/user/1000/emacs")
server-start(nil inhibit-prompt)
User 1000 is the one owning the X session - i.e. the wrong one.
I dunno what makes the difference. Does anyone know why this could be
happening?
Thanks,
Michael