all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs on Windows keeps complaining: the directory ... is unsafe.
Date: Tue, 26 May 2009 06:16:53 +0300	[thread overview]
Message-ID: <83iqjosgd6.fsf@gnu.org> (raw)
In-Reply-To: <87eiuclnk2.fsf@telefonica.net>

> From: =?windows-1252?Q?=D3scar_Fuentes?= <ofv@wanadoo.es>
> Date: Tue, 26 May 2009 02:23:25 +0200
> 
> This gave me an idea: renamed away .emacs.d. Started a new emacs
> instance, which complained:
> 
> File error: Opening output file, no such file or directory, d:/home/.emacs.d/server/server
> 
> so started eshell and created the directory d:/home/.emacs.d/server/
> 
> Now file-attributes returns 500 for the file uid, the same value as
> user-uid returns, and server-ensure-safe-dir does not complain.
> 
> Why file-attributes returns 544 for the file uid on the old directory?

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?

Thanks.




  parent reply	other threads:[~2009-05-26  3:16 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 [this message]
2009-05-26 14:30           ` Óscar Fuentes
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

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

  git send-email \
    --in-reply-to=83iqjosgd6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.