all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Fri, 22 Aug 2008 14:17:58 +0300	[thread overview]
Message-ID: <uy72p2t95.fsf@gnu.org> (raw)
In-Reply-To: <f7ccd24b0808220334y346a1b9w2cb1c7e2dde6a32a@mail.gmail.com>

> Date: Fri, 22 Aug 2008 12:34:43 +0200
> From: "Juanma Barranquero" <lekktu@gmail.com>
> Cc: emacs-devel@gnu.org
> 
> On Thu, Aug 21, 2008 at 18:37, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> > And what about the similar code in w32_system_process_attributes? does
> > it work for the Emacs process?  If it does, perhaps we need to open
> > the current process the same way we do there, and ask for
> > PROCESS_QUERY_INFORMATION and PROCESS_VM_READ types of access.  Can
> > you check that?
> 
> (assq 'euid (system-process-attributes) (emacs-pid)) => (euid . 1006)

Good.  Could you please try writing a stand-alone program that uses
the same technique as w32_system_process_attributes to open the
current process, and see if getting the user from there does work?

Thanks.

> It's a standalone workstation (a laptop, not connected to anything
> other than the cable modem). OS is Windows XP Home Edition, SP3.

The only difference from what I have here is SP2, not SP3.  Strange.




  parent reply	other threads:[~2008-08-22 11:17 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
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           ` Eli Zaretskii [this message]
2008-08-22 11:29             ` File Owner and Group ID on Windows 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

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

  git send-email \
    --in-reply-to=uy72p2t95.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 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.