* server dir unsafe on windows
@ 2008-09-23 3:34 anhnmncb
2008-09-23 4:30 ` Daniel Pittman
0 siblings, 1 reply; 8+ messages in thread
From: anhnmncb @ 2008-09-23 3:34 UTC (permalink / raw)
To: help-gnu-emacs
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?
Thank you.
--
Regards,
anhnmncb
gpg key: 44A31344
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: server dir unsafe on windows
2008-09-23 3:34 server dir unsafe on windows anhnmncb
@ 2008-09-23 4:30 ` Daniel Pittman
2008-09-23 5:48 ` anhnmncb
0 siblings, 1 reply; 8+ messages in thread
From: Daniel Pittman @ 2008-09-23 4:30 UTC (permalink / raw)
To: help-gnu-emacs
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.
Regards,
Daniel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: server dir unsafe on windows
2008-09-23 4:30 ` Daniel Pittman
@ 2008-09-23 5:48 ` anhnmncb
2008-09-23 12:06 ` Lennart Borgman
2008-09-23 17:56 ` Eli Zaretskii
0 siblings, 2 replies; 8+ messages in thread
From: anhnmncb @ 2008-09-23 5:48 UTC (permalink / raw)
To: help-gnu-emacs
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.
>
> Regards,
> Daniel
>
>
>
>
--
Regards,
anhnmncb
gpg key: 44A31344
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: server dir unsafe on windows
2008-09-23 5:48 ` anhnmncb
@ 2008-09-23 12:06 ` Lennart Borgman
2008-09-23 12:24 ` anhnmncb
2008-09-23 17:56 ` Eli Zaretskii
1 sibling, 1 reply; 8+ messages in thread
From: Lennart Borgman @ 2008-09-23 12:06 UTC (permalink / raw)
To: anhnmncb; +Cc: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: server dir unsafe on windows
2008-09-23 5:48 ` anhnmncb
2008-09-23 12:06 ` Lennart Borgman
@ 2008-09-23 17:56 ` Eli Zaretskii
2008-09-24 6:24 ` anhnmncb
1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2008-09-23 17:56 UTC (permalink / raw)
To: help-gnu-emacs
> From: anhnmncb <anhnmncb@gmail.com>
> Date: Tue, 23 Sep 2008 13:48:23 +0800
>
> >> 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.
Are you a member of the local Administrators group on this machine?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: server dir unsafe on windows
2008-09-23 17:56 ` Eli Zaretskii
@ 2008-09-24 6:24 ` anhnmncb
2008-09-24 18:12 ` Eli Zaretskii
0 siblings, 1 reply; 8+ messages in thread
From: anhnmncb @ 2008-09-24 6:24 UTC (permalink / raw)
To: help-gnu-emacs
Eli Zaretskii <eliz@gnu.org> writes:
>> From: anhnmncb <anhnmncb@gmail.com>
>> Date: Tue, 23 Sep 2008 13:48:23 +0800
>>
>> >> 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.
>
> Are you a member of the local Administrators group on this machine?
Of course
>
>
>
--
Regards,
anhnmncb
gpg key: 44A31344
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-09-24 18:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-23 3:34 server dir unsafe on windows anhnmncb
2008-09-23 4:30 ` Daniel Pittman
2008-09-23 5:48 ` anhnmncb
2008-09-23 12:06 ` Lennart Borgman
2008-09-23 12:24 ` anhnmncb
2008-09-23 17:56 ` Eli Zaretskii
2008-09-24 6:24 ` anhnmncb
2008-09-24 18:12 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).