From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: File Owner and Group ID on Windows
Date: Thu, 21 Aug 2008 08:44:56 +0300 [thread overview]
Message-ID: <uabf653c7.fsf@gnu.org> (raw)
In-Reply-To: <f7ccd24b0808201827j3f7cddf7x1dde738f4ea14061@mail.gmail.com>
> Date: Thu, 21 Aug 2008 03:27:20 +0200
> From: "Juanma Barranquero" <lekktu@gmail.com>
> Cc: emacs-devel@gnu.org
>
> On Fri, May 9, 2008 at 23:13, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > There could be some fallout, especially in code that was working until
> > now because all files appeared to be owned by the current user. Now
> > this will change, which could cause Emacs think the user is trying to
> > change files she doesn't own. VC is one place where such problems
> > could happen. I'm asking Windows users to please be alert and report
> > any problems that could be related to this.
>
> emacs -Q
> M-x server-start <RET> => "The directory ~/.emacs.d/server is unsafe"
>
> because
>
> (nth 2 (file-attributes "~/.emacs.d/server/")) == 1006
> (user-uid) == 123
I cannot reproduce this with yesterday's CVS: user-uid returns 1004,
which is identical to what file-attributes returns for files owned by
me. Are you using a recent CVS? If so, could you please debug
through w32.c:init_user_info, where it sets the value of
dflt_passwd.pw_uid, and see what went wrong? The value of 123
suggests that the syscalls to get the real owner and group of the
current Emacs process (starting at open_process_token) somehow failed.
Thanks.
next prev parent reply other threads:[~2008-08-21 5:44 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 21:13 File Owner and Group ID on Windows Eli Zaretskii
2008-08-21 1:27 ` Juanma Barranquero
2008-08-21 1:35 ` Lennart Borgman (gmail)
2008-08-21 1:56 ` Juanma Barranquero
2008-08-21 5:44 ` Eli Zaretskii [this message]
2008-08-21 14:14 ` Juanma Barranquero
2008-08-21 16:37 ` Eli Zaretskii
2008-08-22 10:34 ` Juanma Barranquero
2008-08-22 10:35 ` Juanma Barranquero
2008-08-23 16:10 ` segfault in system-process-attributes on GNU/Linux Bob Rogers
2008-08-23 17:40 ` Eli Zaretskii
2008-08-23 19:12 ` Bob Rogers
2008-08-23 20:51 ` Eli Zaretskii
2008-08-23 18:05 ` Andreas Schwab
2008-08-23 18:17 ` Eli Zaretskii
2008-08-22 11:17 ` File Owner and Group ID on Windows Eli Zaretskii
2008-08-22 11:29 ` Juanma Barranquero
2008-08-24 20:20 ` Eli Zaretskii
2008-08-24 22:52 ` Juanma Barranquero
2008-08-25 3:07 ` Eli Zaretskii
2008-08-25 3:34 ` Lennart Borgman (gmail)
2008-08-25 12:26 ` Juanma Barranquero
2008-08-25 12:48 ` Lennart Borgman (gmail)
2008-08-25 12:50 ` Juanma Barranquero
2008-08-25 12:53 ` Lennart Borgman (gmail)
2008-08-25 15:13 ` Juanma Barranquero
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=uabf653c7.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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).