[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File Owner and Group ID on Windows
From: |
Eli Zaretskii |
Subject: |
Re: File Owner and Group ID on Windows |
Date: |
Thu, 21 Aug 2008 08:44:56 +0300 |
> Date: Thu, 21 Aug 2008 03:27:20 +0200
> From: "Juanma Barranquero" <address@hidden>
> Cc: address@hidden
>
> On Fri, May 9, 2008 at 23:13, Eli Zaretskii <address@hidden> 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.
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/20
- Re: File Owner and Group ID on Windows, Lennart Borgman (gmail), 2008/08/20
- Re: File Owner and Group ID on Windows,
Eli Zaretskii <=
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/21
- Re: File Owner and Group ID on Windows, Eli Zaretskii, 2008/08/21
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/22
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/22
- segfault in system-process-attributes on GNU/Linux, Bob Rogers, 2008/08/23
- Re: segfault in system-process-attributes on GNU/Linux, Eli Zaretskii, 2008/08/23
- Re: segfault in system-process-attributes on GNU/Linux, Bob Rogers, 2008/08/23
- Re: segfault in system-process-attributes on GNU/Linux, Eli Zaretskii, 2008/08/23
- Re: segfault in system-process-attributes on GNU/Linux, Andreas Schwab, 2008/08/23
- Re: segfault in system-process-attributes on GNU/Linux, Eli Zaretskii, 2008/08/23