From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: ensure safe directory failing Date: Sat, 19 Mar 2011 07:44:33 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300542031 5874 80.91.229.12 (19 Mar 2011 13:40:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 13:40:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 19 14:40:27 2011 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.69) (envelope-from ) id 1Q0wOJ-0000b8-GT for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Mar 2011 14:40:27 +0100 Original-Received: from localhost ([127.0.0.1]:51745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0wOJ-0000XB-32 for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Mar 2011 09:40:27 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 19 Mar 2011 07:44:49 -0500 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-No-Archive: yes Original-Lines: 44 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.131.134 Original-X-Trace: sv3-WZ1WbT8NF8QUHUU3xLKBJbHhCagoujYdygS95Chu1Vxeyez+MHKKuG55ase58NpHaxRlTiJM/a7OYeM!mh621a2McVYicTSRhiQtWfbHSQ2uEQ4dvF88Ei/IFRS0Fl3hjD1OwXYA7MrTmdlYpkHMpDh9tC+5!iUYolKfKz60ggVTFQi9SRSklYeI9Hyg= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2966 Original-Xref: usenet.stanford.edu gnu.emacs.help:186132 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 X-Gmane-Expiry: 2011-04-02 Xref: news.gmane.org gmane.emacs.help:80275 Archived-At: Eli Zaretskii wrote: >> Date: Fri, 18 Mar 2011 17:44:57 -0500 >> From: "B. T. Raven" >> >> >> I see the following after installing w32 Emacs 23.3.1 and running it via >> shortcut with target C:\Emacs\bin\runemacs.exe --debug-init: >> >> (error "The directory `~/.emacs.d/server' is unsafe") >> signal(error ("The directory `~/.emacs.d/server' is unsafe")) >> >> In my ver 22.3 there was a file called server in this directory but >> nothing in ver 23. Does any of you know what might be going on? > > Are you logged in as Administrator on that machine? Essentially yes. No password to logon. Up until ver. 23 (server-start) in .emacs worked with HOME=C:\emacs (i.e. everything at same level as emacs/bin). Under DocumentsandSettings the owners of all the folders seem to be Administrators, User, System and with all permissions checked. The owner under c:\emacs was always Everyone and all permissions were checked. I read the entire thread at http://osdir.com/ml/help-emacs-windows-gnu/2011-03/ on this topic but I can't seem to make .emacs.d directory safe with any combo of users and/or permissions. This is on a desktop with win2000. On a laptop with xp and with home=c:\emacs it does work but all I see there is that the directory is read only (i.e. right click properties or Alt-Enter doesn't reveal anything about ownership). > >> What is a race condition? > > What race condition? There's no "race condition" in the error message > you are quoting? > I think this is from the docstring in server.el I would like to not bury home env. variable somewhere under DocumentsandSettings because I frequently navigate around using dos window (command.com). Thanks, Ed