all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista
@ 2009-03-17 22:48 ` Derek Kivi
  2009-03-18  8:59   ` Eli Zaretskii
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Derek Kivi @ 2009-03-17 22:48 UTC (permalink / raw)
  To: emacs-pretest-bug


[-- Attachment #1.1: Type: text/plain, Size: 2739 bytes --]

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.

 

In GNU Emacs 23.0.91.1 (i386-mingw-nt6.0.6001)

 of 2009-02-26 on LENNART-69DE564

Windowing system distributor `Microsoft Corp.', version 6.0.6001

configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'

 

Important settings:

  value of $LC_ALL: nil

  value of $LC_COLLATE: nil

  value of $LC_CTYPE: nil

  value of $LC_MESSAGES: nil

  value of $LC_MONETARY: nil

  value of $LC_NUMERIC: nil

  value of $LC_TIME: nil

  value of $LANG: ENC

  value of $XMODIFIERS: nil

  locale-coding-system: cp1252

  default-enable-multibyte-characters: t

 

Major mode: EShell

 

Minor modes in effect:

  tooltip-mode: t

  mouse-wheel-mode: t

  file-name-shadow-mode: t

  global-font-lock-mode: t

  font-lock-mode: t

  blink-cursor-mode: t

  global-auto-composition-mode: t

  auto-composition-mode: t

  auto-encryption-mode: t

  auto-compression-mode: t

  column-number-mode: t

  line-number-mode: t

  transient-mark-mode: t

 

Recent input:

M-x e s h e l l <return> l s SPC - a l <return> c d 

<return> l s SPC - a l <return> c d SPC . . <return> 

l s SPC - a l <return> <help-echo> <help-echo> M-x 

r e p o r t - e m a c s - b u g <return>

 

Recent messages:

Loading em-basic...done

Loading em-cmpl...done

Loading em-dirs...done

Loading em-glob...done

Loading em-hist...done

Loading em-ls...done

Loading em-prompt...done

Loading em-script...done

Loading em-term...done

Loading em-unix...done

-- 
Derek Kivi
Senior Software Developer

QuIC Financial Technologies Inc. 
Office: +1 403 210 8282 
Mobile: +1 403 863 5204 
derek.kivi@quic.com

Risk. Managed.
www.quic.com 

Confidentiality Notice: The information transmitted is intended only for the person(s) or entity(ies) to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the email and any related material from any computer.
ver. QuIC 0707

[-- Attachment #1.2: Type: text/html, Size: 11508 bytes --]

[-- Attachment #2: QuIC-email-blue-orange.gif --]
[-- Type: image/gif, Size: 735 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista
  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
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2009-03-18  8:59 UTC (permalink / raw)
  To: Derek Kivi, 2702

> 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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista
       [not found] <40BE6CED2DA9BC43A8EF8D5052DD4C2B02852CF9@cgymx1.QFTI.COM>
@ 2009-03-18 15:59 ` Derek Kivi
  2009-03-18 18:46   ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Derek Kivi @ 2009-03-18 15:59 UTC (permalink / raw)
  To: eliz, 2702


> 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.

Hi Eli,

I have moved this to a non-work email to avoid the signature that accompanied my other emails. Sorry if that caused an inconvenience.

Here is the output from the subinacl command that you asked for:

C:\>subinacl /file C:\ /display=sddl

+File C:\
/sddl=O:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464G:S-1-5-80
-956008885-3418522649-1831038044-1853292631-2271478464D:PARAI(A;;FA;;;BA)(A;OICI
IO;GA;;;BA)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;OICI;0x1200a9;;;BU)(A;OICIIO;SDGXGWG
R;;;AU)(A;;LC;;;AU)S:


Elapsed Time: 00 00:00:00
Done:        1, Modified        0, Failed        0, Syntax errors        0
Last Done  : C:\



      __________________________________________________________________
Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista
  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
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2009-03-18 18:46 UTC (permalink / raw)
  To: derekkivi; +Cc: 2702

> Date: Wed, 18 Mar 2009 08:59:45 -0700 (PDT)
> From: Derek Kivi <derekkivi@yahoo.com>
> 
> C:\>subinacl /file C:\ /display=sddl
> 
> +File C:\
> /sddl=O:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464G:S-1-5-80
> -956008885-3418522649-1831038044-1853292631-2271478464D:PARAI(A;;FA;;;BA)(A;OICI
> IO;GA;;;BA)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;OICI;0x1200a9;;;BU)(A;OICIIO;SDGXGWG
> R;;;AU)(A;;LC;;;AU)S:

Thanks, this gives me what I need to fix the problem.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2702: marked as done (23.0.91; ls -al under eshell doesn't  work on Windows Vista)
  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
@ 2009-03-18 20:55   ` Emacs bug Tracking System
  1 sibling, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2009-03-18 20:55 UTC (permalink / raw)
  To: Eli Zaretskii

[-- Attachment #1: Type: text/plain, Size: 907 bytes --]


Your message dated Wed, 18 Mar 2009 22:45:36 +0200
with message-id <u4oxqr24v.fsf@gnu.org>
and subject line Re: bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista
has caused the Emacs bug report #2702,
regarding 23.0.91; ls -al under eshell doesn't work on Windows Vista
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2702: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2702
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 18982 bytes --]

[-- Attachment #2.1.1.1: Type: text/plain, Size: 2739 bytes --]

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.

 

In GNU Emacs 23.0.91.1 (i386-mingw-nt6.0.6001)

 of 2009-02-26 on LENNART-69DE564

Windowing system distributor `Microsoft Corp.', version 6.0.6001

configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'

 

Important settings:

  value of $LC_ALL: nil

  value of $LC_COLLATE: nil

  value of $LC_CTYPE: nil

  value of $LC_MESSAGES: nil

  value of $LC_MONETARY: nil

  value of $LC_NUMERIC: nil

  value of $LC_TIME: nil

  value of $LANG: ENC

  value of $XMODIFIERS: nil

  locale-coding-system: cp1252

  default-enable-multibyte-characters: t

 

Major mode: EShell

 

Minor modes in effect:

  tooltip-mode: t

  mouse-wheel-mode: t

  file-name-shadow-mode: t

  global-font-lock-mode: t

  font-lock-mode: t

  blink-cursor-mode: t

  global-auto-composition-mode: t

  auto-composition-mode: t

  auto-encryption-mode: t

  auto-compression-mode: t

  column-number-mode: t

  line-number-mode: t

  transient-mark-mode: t

 

Recent input:

M-x e s h e l l <return> l s SPC - a l <return> c d 

<return> l s SPC - a l <return> c d SPC . . <return> 

l s SPC - a l <return> <help-echo> <help-echo> M-x 

r e p o r t - e m a c s - b u g <return>

 

Recent messages:

Loading em-basic...done

Loading em-cmpl...done

Loading em-dirs...done

Loading em-glob...done

Loading em-hist...done

Loading em-ls...done

Loading em-prompt...done

Loading em-script...done

Loading em-term...done

Loading em-unix...done

-- 
Derek Kivi
Senior Software Developer

QuIC Financial Technologies Inc. 
Office: +1 403 210 8282 
Mobile: +1 403 863 5204 
derek.kivi@quic.com

Risk. Managed.
www.quic.com 

Confidentiality Notice: The information transmitted is intended only for the person(s) or entity(ies) to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the email and any related material from any computer.
ver. QuIC 0707

[-- Attachment #2.1.1.2: Type: text/html, Size: 11508 bytes --]

[-- Attachment #2.1.2: QuIC-email-blue-orange.gif --]
[-- Type: image/gif, Size: 735 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 2008 bytes --]

From: Eli Zaretskii <eliz@gnu.org>
To: derekkivi@yahoo.com, Derek Kivi <derek.kivi@quic.com>
Cc: 2702-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2702: 23.0.91; ls -al under eshell doesn't work on Windows Vista
Date: Wed, 18 Mar 2009 22:45:36 +0200
Message-ID: <u4oxqr24v.fsf@gnu.org>

Fixed with the two changes below.

Still todo: make uid_t and gid_t unsigned types on Windows, to avoid
negative values for users such as TrustedInstaller, with a suitable
change in the emulated `struct stat'.

2009-03-18  Eli Zaretskii  <eliz@gnu.org>

	* dired.c (Ffile_attributes): Make sure UID and GID are always
	positive, even if the value is too large for a positive EMACS_INT.
	Doc fix.

	* editfns.c (Fuser_login_name): Support float arguments.  Doc fix.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-18 20:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
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

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.