all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Derek Kivi <derek.kivi@quic.com>, 2702@emacsbugs.donarmstrong.com
Subject: bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista
Date: Wed, 18 Mar 2009 04:59:50 -0400	[thread overview]
Message-ID: <E1Ljrcs-0006NY-8o@fencepost.gnu.org> (raw)
In-Reply-To: <40BE6CED2DA9BC43A8EF8D5052DD4C2B02852C7A@cgymx1.QFTI.COM> (derek.kivi@quic.com)

> Date: Tue, 17 Mar 2009 16:48:21 -0600
> From: "Derek Kivi" <derek.kivi@quic.com>
> Cc: 
> 
> In eshell, running the command "ls -al" can produce the following error:
> 
> c:/Derek $ ls -al
> 
> total 593
> Wrong type argument: integerp, -2023488832.0
> 
> >From correspondence with Eli Zaretskii on the help-emacs-windows mailing
> list, this is due to the fact that a user's uid can be a float larger
> than an Emacs Lisp integer can hold.
> 
> The owner of the .. directory (c: itself) appears to be a user called
> TrustedInstaller.

Thank you for your report.  Could you please post the full SID
(Security Identifier) of this TrustedInstaller user?  This user is new
with Vista, so I'd like to have its SID value to better understand
what it does to Emacs code (for example, why the numeric UID comes out
negative, as your report shows).

There are several utilities available to display the SID.  One of them
is `subinacl', which can be downloaded from here:

  http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

After you install it, the following command line will display the SID
of the owner of the root directory of the C: drive:

  subinacl /file C:\ /display=sddl

Please post here the full output of that command.

From info on the Internet, I understand that Vista comes with a
similar utility called icacls.exe, but I don't have a Vista where I'm
typing this, so I could not verify whether it can display the SID of
the owner, and what switches would you need to give it for that.

Thanks.






  reply	other threads:[~2009-03-18  8:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <u4oxqr24v.fsf@gnu.org>
2009-03-17 22:48 ` bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista Derek Kivi
2009-03-18  8:59   ` Eli Zaretskii [this message]
2009-03-18 20:55   ` bug#2702: marked as done (23.0.91; ls -al under eshell doesn't work on Windows Vista) Emacs bug Tracking System
     [not found] <40BE6CED2DA9BC43A8EF8D5052DD4C2B02852CF9@cgymx1.QFTI.COM>
2009-03-18 15:59 ` bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista Derek Kivi
2009-03-18 18:46   ` Eli Zaretskii

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=E1Ljrcs-0006NY-8o@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=2702@emacsbugs.donarmstrong.com \
    --cc=derek.kivi@quic.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.