bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36598: 26.1; (error "‘/tmp/emacs1000’ is not a safe directory becaus


From: phillip . lord
Subject: bug#36598: 26.1; (error "‘/tmp/emacs1000’ is not a safe directory because it is a symlink")
Date: Sat, 13 Jul 2019 15:30:50 +0100
User-agent: Roundcube Webmail/1.3.8

On 2019-07-13 05:38, Lars Ingebrigtsen wrote:
mah@everybody.org (Mark A. Hershberger) writes:

$ ls -l /tmp/emacs1000
lrwxrwxrwx 1 mah mah 20 Jul 11 09:53 /tmp/emacs1000 -> /run/user/1000/emacs

Whoever set up the symlink for /tmp/emacs1000 should also change the
value of server-socket-dir.

I'm unable to reproduce this error -- do you have a recipe starting from
"emacs -Q"?

What is it that triggers the "is not a safe directory because it is a
symlink" error?  Do you have a backtrace?


I discovered the cause of this the other day.

Launch emacs-27, start the server. Now launch emacs-26 and start the server with a different. The problem is that emacs-27 creates the file /tmp/emacs($PID) as a symlink, while emacs-26 doesn't like it.

Probably created by

b663c837249 (Stefan Monnier          2019-05-03  538)

Phil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]