From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.help Subject: Re: server dir unsafe on windows Date: Tue, 23 Sep 2008 14:06:33 +0200 Message-ID: References: <83hc87ttzx.fsf@gmail.com> <874p47qya1.fsf@rimspace.net> <838wtj1kgo.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222171622 6454 80.91.229.12 (23 Sep 2008 12:07:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 12:07:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: anhnmncb Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 14:08:00 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ki6gR-0001eZ-Av for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 14:07:59 +0200 Original-Received: from localhost ([127.0.0.1]:39484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki6fP-0001ee-Et for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 08:06:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ki6f5-0001eH-J8 for help-gnu-emacs@gnu.org; Tue, 23 Sep 2008 08:06:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ki6f4-0001du-Td for help-gnu-emacs@gnu.org; Tue, 23 Sep 2008 08:06:35 -0400 Original-Received: from [199.232.76.173] (port=51565 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki6f4-0001dr-PF for help-gnu-emacs@gnu.org; Tue, 23 Sep 2008 08:06:34 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.158]:42961) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ki6f4-0003jQ-44 for help-gnu-emacs@gnu.org; Tue, 23 Sep 2008 08:06:34 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l26so1886369fgb.30 for ; Tue, 23 Sep 2008 05:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ZcVh7vo901RJMRGmQEWcpi7ns1yjyqUYU7T72hyrc5w=; b=UuBL27GcI4ozi3Is5CvuDJcSpk0oH0KcH/wSqkHdJZewZl7COcLcHfe7N8ijykldOA +2j+konkvheMhORxiparV1vv/HOUnkbWkq4SCuVE7pbT1U74VrxhNrr8FWfiO5ONjnXx OFGVLgiYWkm+eR3LzPqEpf4+/zyQU6NABfgr4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=egfjOn8UMfJTVoDuXkAcQhx3qQqF3CGtkUYeInewGbjfdxaqE0tO+cqwiw3VoRiQTH +oxJigT6qUEDZDJaqkFrDRluOqJgP0+HSCKraaFjg8m1lL4sTwTj3lx64g0vtlmD6igk /GXPLYdx3KK95Bq2rWWffJR3vYWnwach4473g= Original-Received: by 10.86.26.11 with SMTP id 11mr6011048fgz.12.1222171593312; Tue, 23 Sep 2008 05:06:33 -0700 (PDT) Original-Received: by 10.86.65.3 with HTTP; Tue, 23 Sep 2008 05:06:33 -0700 (PDT) In-Reply-To: <838wtj1kgo.fsf@gmail.com> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57942 Archived-At: On 9/23/08, anhnmncb wrote: > Daniel Pittman writes: > > > anhnmncb 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.