From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <40BE6CED2DA9BC43A8EF8D5052DD4C2B02852C7A@cgymx1.QFTI.COM> Reply-To: Eli Zaretskii , 2702@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1237368258 22554 80.91.229.12 (18 Mar 2009 09:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2009 09:24:18 +0000 (UTC) To: Derek Kivi , 2702@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 18 10:25:34 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ljs1c-0002jF-90 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 10:25:24 +0100 Original-Received: from localhost ([127.0.0.1]:46171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljs0F-00012j-Op for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 05:23:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ljs08-00011b-Io for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2009 05:23:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ljs03-0000xj-HS for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2009 05:23:51 -0400 Original-Received: from [199.232.76.173] (port=39228 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljs03-0000xQ-2r for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2009 05:23:47 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44222) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ljs01-0006Xs-0k for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2009 05:23:45 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2I9NhCn017722; Wed, 18 Mar 2009 02:23:43 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2I9563b012839; Wed, 18 Mar 2009 02:05:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Wed, 18 Mar 2009 09:05:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2702 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 2702-submit@emacsbugs.donarmstrong.com id=B2702.123736679610499 (code B ref 2702); Wed, 18 Mar 2009 09:05:06 +0000 Original-Received: (at 2702) by emacsbugs.donarmstrong.com; 18 Mar 2009 08:59:56 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2I8xrJR010493 for <2702@emacsbugs.donarmstrong.com>; Wed, 18 Mar 2009 01:59:54 -0700 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Ljrcs-0006NY-8o; Wed, 18 Mar 2009 04:59:50 -0400 In-reply-to: <40BE6CED2DA9BC43A8EF8D5052DD4C2B02852C7A@cgymx1.QFTI.COM> (derek.kivi@quic.com) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 18 Mar 2009 05:23:51 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26458 Archived-At: > Date: Tue, 17 Mar 2009 16:48:21 -0600 > From: "Derek Kivi" > 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.