help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] 23.1.50; "The directory .emacs.d/server is unsafe" problem


From: Juanma Barranquero
Subject: Re: [h-e-w] 23.1.50; "The directory .emacs.d/server is unsafe" problem
Date: Mon, 14 Jun 2010 01:11:33 +0200

2010/6/13 Václav Haisman <address@hidden>:

> I am getting the following error right after installation of patched
> Emacs, when it tries to start to let me configure it. The directory
> .emacs.d/server did not exist before I intalled Emacs.
>
> Debugger entered--Lisp error: (error "The directory
> `c:/Users/wilx/AppData/Roaming/.emacs.d/server' is unsafe")

It'd be good to know whether it also fails with an unpatched Emacs, but still...

Most likely, the message means that your .emacs.d/server failed one of
the following two checks:

                   (unless (eq t (car attrs))   ; is a dir?
                     (throw :safe nil))
                   (unless (eql uid (user-uid)) ; is the dir ours?
                     (throw :safe nil))

Assuming it is indeed a directory, that means that the id of the owner
of the directory does not match the user running Emacs, i.e, that

  (nth 2 (file-attributes
"c:/Users/wilx/AppData/Roaming/.emacs.d/server" 'integer))

is different from what (user-uid) returns.

Could you please try both things in your Emacs instance and report
what you find? Also, you could try deleting .emacs.d/server and
recreating it.

    Juanma



reply via email to

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