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 23:00:31 +0200 Message-ID: <87prdvk2a8.fsf@telefonica.net> References: <87skitkvr4.fsf@telefonica.net> <83k544sw84.fsf@gnu.org> <87iqjols8w.fsf@telefonica.net> <83hbz8sg3u.fsf@gnu.org> <87y6skj5nb.fsf@telefonica.net> <83eiubslcs.fsf@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 1243371671 13266 80.91.229.12 (26 May 2009 21:01:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2009 21:01:11 +0000 (UTC) Cc: Eli Zaretskii To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 26 23:01:07 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 1M93lj-0007lV-5i for ged-emacs-devel@m.gmane.org; Tue, 26 May 2009 23:01:07 +0200 Original-Received: from localhost ([127.0.0.1]:51304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M93li-0007Ri-Es for ged-emacs-devel@m.gmane.org; Tue, 26 May 2009 17:01:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M93lW-0007MS-91 for emacs-devel@gnu.org; Tue, 26 May 2009 17:00:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M93lQ-0007I6-3x for emacs-devel@gnu.org; Tue, 26 May 2009 17:00:53 -0400 Original-Received: from [199.232.76.173] (port=53984 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M93lP-0007Hu-VY for emacs-devel@gnu.org; Tue, 26 May 2009 17:00:48 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:53646 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 1M93lP-0003WK-92 for emacs-devel@gnu.org; Tue, 26 May 2009 17:00:47 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M93lL-0000sG-2p for emacs-devel@gnu.org; Tue, 26 May 2009 21:00:43 +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 21:00:43 +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 21:00:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 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:KddMJOED0XsglbJtriJk4xkfPf8= 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:111129 Archived-At: Eli Zaretskii writes: >> > By the way, was the .emacs.d directory created originally by some >> > Cygwin tool? >> >> That happened long time ago. However, I doubt that anything else than >> emacs created that directory. > > Hmm, strange. That would mean something's changed in Emacs since > then, but I don't think make-directory was ever changed on Windows wrt > file ownership. We just call a Windows _mkdir function. The mystery is solved: on the past my home directory changed. I checked that copying a directory with Explorer reassigns the owner to Administrators. It keeps the owner with cut&paste, but my custom is to leave the original behind and certainly used copy&paste when migrated the contents from the old home directory to the new one. I guess the same is applicable to other tools that assigns the ownership to Administrators, such as CMD, the MSYS shell, etc. -- Óscar