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

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

Re: server dir unsafe on windows


From: Lennart Borgman
Subject: Re: server dir unsafe on windows
Date: Tue, 23 Sep 2008 14:06:33 +0200

On 9/23/08, anhnmncb <anhnmncb@gmail.com> wrote:
> Daniel Pittman <daniel@rimspace.net> writes:
>
> > anhnmncb <anhnmncb@gmail.com> writes:
> >
> >> The error message is here:
> >> <----
> >> Debugger entered--Lisp error: (error "The directory ~/.emacs.d/server is 
> >> unsafe")
> >>   signal(error ("The directory ~/.emacs.d/server is unsafe"))
> >>   error("The directory %s is unsafe" "~/.emacs.d/server")
> >>   server-ensure-safe-dir("~/.emacs.d/server/")
> >>   server-start(nil)
> >>   call-interactively(server-start t nil)
> >>   execute-extended-command(nil)
> >>   call-interactively(execute-extended-command nil nil)
> >> <----
> >> emacs version: GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-09-18
> >> on LENNART-69DE564
> >>
> >> I don't think it's permission's issue, any advice?
> >
> > It's a permissions, or ownership, issue.
>
> I have removed that server dir then create one by hand, still the issue.


This is a known bug in Emacs on ms windows. I think Eli is working on this.

A workaround is to comment out this line in
server-ensure-safe-dir in server.el:

             ;; Fix-me: This test does not work on w32
             ;;(eql (nth 2 attrs) (user-uid))

Remember to byte compile server.el after the change.




reply via email to

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