SUA utilities end unexpectedly when you use them together with wildcard characters in Windows 7 or in Windows Server 2008 R2

Applies to: Windows 7 EnterpriseWindows 7 Home BasicWindows 7 Home Premium More

Symptoms


Consider the following scenario:
  • You have the Subsystem for UNIX-based Applications (SUA) feature enabled on a computer that is running Windows 7 or Windows Server 2008 R2.
  • You install Microsoft Utilities and Software Development Kit (SDK) for Subsystem for UNIX-based Applications on the computer.
  • You use SUA utilities together with wildcard characters against a folder that has more than 101 files. For example, you run the following command to list the text files of a folder that has more than 101 text files. 
    - ls -l *.txt
In this scenario, SUA utilities may quit unexpectedly.

Resolution


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 SP1. Additionally, you must have Utilities and SDK for SUA for Windows Server 2008 R2 and Windows 7 installed. For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
For x86-based version of Utilities and SDK for SUA
File nameFile versionFile sizeDateTimePlatform
Chmod.exe10.0.7601.21924134,14420-Feb-201219:06x86
Ls.exe10.0.7601.21924174,59220-Feb-201219:28x86
For x64-based version of Utilities and SDK for SUA
File nameFile versionFile sizeDateTimePlatform
Chmod.exe10.0.7601.21920139,77616-Feb-201216:38x64
Ls.exe10.0.7601.21920183,29616-Feb-201216:39x64
For IA-64-based version of Utilities and SDK for SUA
File nameFile versionFile sizeDateTimePlatform
Chmod.exe10.0.7601.21920302,08023-Feb-201213:03IA-64
Ls.exe10.0.7601.21920430,59223-Feb-201213:04IA-64

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about Utilities and SDK for Subsystem for UNIX-Based Applications, visit the following Microsoft website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates