emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 22 Aug 2008 14:17:58 +0300

> Date: Fri, 22 Aug 2008 12:34:43 +0200
> From: "Juanma Barranquero" <address@hidden>
> Cc: address@hidden
> 
> On Thu, Aug 21, 2008 at 18:37, Eli Zaretskii <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]