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: Sun, 20 Mar 2011 14:06:11 -0500 Message-ID: References: <1JmdnR57Z4OcxxjQnZ2dnUVZ_o6dnZ2d@sysmatrix.net> 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 1300650033 16802 80.91.229.12 (20 Mar 2011 19:40:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2011 19:40:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 20 20:40:29 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 1Q1OUG-0007Hy-CS for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Mar 2011 20:40:28 +0100 Original-Received: from localhost ([127.0.0.1]:49592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1OUF-0003bS-US for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Mar 2011 15:40:27 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!news1.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: Sun, 20 Mar 2011 14:06:09 -0500 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-No-Archive: yes Original-Lines: 59 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.133.13 Original-X-Trace: sv3-GZRG3umstySrisCgpIogPa2ncsGGeuMp/70BXiBZrRAoLLtNq+3jSbj9sxqUpUZlLZCqwysHy8ZvgXV!AcRJ4kftpn6RZv8Kc/7eRruu5C6qFeMQstcupMNZ2nspEYQqaz02mNITK7+os4KyU1ZNZqdTom/y!qzZq1ShvR0Y3uzAHm0VFIr6D5EsU5Q== 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: 3335 Original-Xref: usenet.stanford.edu gnu.emacs.help:186159 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-03 Xref: news.gmane.org gmane.emacs.help:80295 Archived-At: Eli Zaretskii wrote: >> Date: Sun, 20 Mar 2011 11:30:06 -0500 >> From: "B. T. Raven" >> >>>> M-: (file-attributes "c:/emacs/.emacs.d" 'integer) RET >> (t 1 544 513 (19846 9844) (19845 18237) (19843 65123) 0 "drwxrwxrwx" nil >> (4608 1 . 53735) (55444 . 23564)) >> >> Not void function, as I thought. >> >> >>> void function >>> >>>> M-: (user-uid) RET >>> 1000 (#o1750, #x3e8) > > Then this is not the case which the patch was supposed to solve. > > What you need to do is this: > > . exit Emacs > > . rename the c:\emacs\.emacs.d directory > > . start Emacs with "emacs -Q" > > . exit Emacs > > This should create c:\emacs\.emacs.d with the right credentials. You > should be able to see that with the same command as before: > > M-: (file-attributes "c:/emacs/.emacs.d" 'integer) RET After carrying out above instructions it now shows: (t 1 544 513 (19846 19183) (19846 19183) (19846 19063) 0 "drwxrwxrwx" nil (8192 1 . 57574) (55444 . 23564)) and same Backtrace. ??? I notice that there is a folder for an orphaned user (I think)under DocumentsandSettings last touched in july 2008. This username doesn't appear anywhere in CtlPanel > Admin > Users. Maybe it's in the registry somewhere. Anyway it hasn't caused any problems. > > It should now show 1000, which is your Windows user ID, instead of > 544, as the 3rd member of the list it displays. If this succeeds, you > can invoke Emacs as usual, and the server should start without the > warning. If you have something important in the old .emacs.d, you can > now copy it to the new .emacs.d. >