unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Emacs on Windows keeps complaining: the directory ... is unsafe.
Date: Tue, 26 May 2009 16:30:41 +0200	[thread overview]
Message-ID: <873aaskkby.fsf@telefonica.net> (raw)
In-Reply-To: 83iqjosgd6.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> 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





  reply	other threads:[~2009-05-26 14:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 16:11 Emacs on Windows keeps complaining: the directory ... is unsafe Óscar Fuentes
2009-05-25 17:06 ` Juanma Barranquero
2009-05-25 21:34 ` Eli Zaretskii
2009-05-25 22:42   ` Óscar Fuentes
2009-05-25 23:57     ` Juanma Barranquero
2009-05-26  0:23       ` Óscar Fuentes
2009-05-26  0:27         ` Jason Rumney
2009-05-26  1:28           ` Óscar Fuentes
2009-05-26  3:16         ` Eli Zaretskii
2009-05-26 14:30           ` Óscar Fuentes [this message]
2009-05-26 19:42             ` Eli Zaretskii
2009-05-26  3:22     ` Eli Zaretskii
2009-05-26 14:33       ` Óscar Fuentes
2009-05-26 19:41         ` Eli Zaretskii
2009-05-26 21:00           ` Óscar Fuentes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873aaskkby.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).