From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?windows-1252?Q?=D3scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs on Windows keeps complaining: the directory ... is unsafe. Date: Tue, 26 May 2009 03:28:00 +0200 Message-ID: <87ab50lkkf.fsf@telefonica.net> References: <87skitkvr4.fsf@telefonica.net> <83k544sw84.fsf@gnu.org> <87iqjols8w.fsf@telefonica.net> <87eiuclnk2.fsf@telefonica.net> <4A1B3781.7040800@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1243301333 8281 80.91.229.12 (26 May 2009 01:28:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2009 01:28:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 26 03:28:46 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M8lT0-000283-Jy for ged-emacs-devel@m.gmane.org; Tue, 26 May 2009 03:28:34 +0200 Original-Received: from localhost ([127.0.0.1]:37022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8lSz-0007Zc-T4 for ged-emacs-devel@m.gmane.org; Mon, 25 May 2009 21:28:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8lSt-0007ZK-Lf for emacs-devel@gnu.org; Mon, 25 May 2009 21:28:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8lSl-0007VB-7E for emacs-devel@gnu.org; Mon, 25 May 2009 21:28:26 -0400 Original-Received: from [199.232.76.173] (port=48061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8lSl-0007V8-2d for emacs-devel@gnu.org; Mon, 25 May 2009 21:28:19 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:58161 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M8lSk-0006kd-MV for emacs-devel@gnu.org; Mon, 25 May 2009 21:28:18 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M8lSi-000505-5z for emacs-devel@gnu.org; Tue, 26 May 2009 01:28:16 +0000 Original-Received: from 134.red-83-35-102.dynamicip.rima-tde.net ([83.35.102.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 May 2009 01:28:16 +0000 Original-Received: from ofv by 134.red-83-35-102.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 May 2009 01:28:16 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 134.red-83-35-102.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) Cancel-Lock: sha1:j0aEB/GZ2E+cCxLQHpwVFmVubPs= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111099 Archived-At: Jason Rumney writes: > Óscar Fuentes wrote: >> Why file-attributes returns 544 for the file uid on the old directory? >> I still have it around, in case you want some info about it. >> > > What user does 544 correspond to? dired should tell you. The working `server' directory: -rw-rw-rw- 1 Administrator None 84 05-26 03:11 server The problematic `server' directory: drwxrwxrwx 1 Administrators None 0 05-26 01:49 server So the problem is that the faulty .emacs.d/server directory was not owned by Administrator (the current user) but by Administrators (a group of users). Now checked again: exit emacs and deleted .emacs.d. Then started emacs and .emacs.d/server was created succesfully as owned by Administrator (.emacs.d is owned by Administrator too). So the problem was that at some point .emacs.d/server was created as owned by Administrators. The directory is almost 3 years old, so maybe the problem was the bug Eli mentioned as fixed time ago. On a previous message I mentioned that server-start complained about the inexistence of .emacs.d/server. This was my fault. The `server' directory is created by server-ensure-safe-dir and the call to it was commented out for avoiding the error it throwed when the user-uid and the file uid didn't match. Thanks for your help and patience. -- Óscar