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 16:30:41 +0200 Message-ID: <873aaskkby.fsf@telefonica.net> References: <87skitkvr4.fsf@telefonica.net> <83k544sw84.fsf@gnu.org> <87iqjols8w.fsf@telefonica.net> <87eiuclnk2.fsf@telefonica.net> <83iqjosgd6.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 1243348343 30157 80.91.229.12 (26 May 2009 14:32:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2009 14:32:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 26 16:32:16 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 1M8xhK-0004KC-5y for ged-emacs-devel@m.gmane.org; Tue, 26 May 2009 16:32:10 +0200 Original-Received: from localhost ([127.0.0.1]:56168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8xhJ-0000V8-Fc for ged-emacs-devel@m.gmane.org; Tue, 26 May 2009 10:32:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8xgH-0000HX-2T for emacs-devel@gnu.org; Tue, 26 May 2009 10:31:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8xgB-0000Fd-Hk for emacs-devel@gnu.org; Tue, 26 May 2009 10:31:04 -0400 Original-Received: from [199.232.76.173] (port=55818 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8xgB-0000FM-Ah for emacs-devel@gnu.org; Tue, 26 May 2009 10:30:59 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:60182 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 1M8xgA-0005aA-Mr for emacs-devel@gnu.org; Tue, 26 May 2009 10:30:59 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M8xg4-0005kY-Do for emacs-devel@gnu.org; Tue, 26 May 2009 14:30:52 +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 14:30:52 +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 14:30:52 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 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:ifB5WlAyttVmKJ3n27XaY53TzLk= 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:111115 Archived-At: Eli Zaretskii writes: > 544 is the uid of the Administrators group. Files created by the user > Administrator are frequently seen on Windows as owned by the > Administrators group, not by the user Administrator. > > But since recreating that directory from Emacs had the directory > attributed to the user Administrator (uid = 500), perhaps the owner > Windows records depends on how the directory is created. Can you > experiment with different ways of creating directories, like from the > Windows shell, from Explorer, with the Emacs make-directory function, > and tell the results? drwxrwxrwx 1 Administrators None 0 05-26 16:16 explorer drwxrwxrwx 1 Administrator None 0 05-26 16:17 make-directory drwxrwxrwx 1 Administrators None 0 05-26 16:17 mkdir_cmd_shell drwxrwxrwx 1 Administrator None 0 05-26 16:16 mkdir_cygwin_bash drwxrwxrwx 1 Administrator None 0 05-26 16:17 mkdir_eshell drwxrwxrwx 1 Administrators None 0 05-26 16:26 mkdir_msys_bash so Explorer and the CMD shell assigns ownership to Administrators, while cygwin and Emacs assigns ownership to Administrator. MSYS, which, as you know, is a fork of cygwin, assigns ownership to Administrators. Emacs is the fully native one and does not use cygwin's shell nor MSYS shell. This is on Windows 2000 Professional SP4. -- Óscar