PRB: Reinstall or Repair of Windows Services for UNIX 3.0 Is Unsuccessful and the Setup Rolls Back on Windows Server 2003 (831909)



The information in this article applies to:

  • Microsoft Windows Services for UNIX 3.0

SYMPTOMS

When you try to reinstall or to repair Windows Services for UNIX 3.0 on Windows Server 2003, the setup is unsuccessful. Additionally, the setup rolls back, and you receive the following error message:

Could not set file security for file 'C:\SFUWHIS\tmp\'. Error: 5. Verify that you have sufficient privileges to modify the security permissions for this file.

This problem occurs only when both the following circumstances are true:
  • When you use the Maintenance Wizard to repair or reinstall Windows Services for UNIX 3.0.
  • When the Interix component is also installed.
This error does not occur in the following scenarios:
  • When you upgrade Windows Services for UNIX 3.0 to Windows Services for UNIX 3.5.
  • When you repair or reinstall Windows Services for UNIX 3.5.

CAUSE

Setup has two custom actions (CA) that set different permissions on the SFUDIR\tmp folder. During the initial installation, permissions are set as follows:
  • CA1 sets the permission to Permission Set-1 on the SFUDIR\tmp folder
  • CA2 sets the permissions to Permission Set-2 on top of the SFUDIR\tmp folder
When you try to reinstall, CA1 tries again to set the Permission Set-1 on the SFUDIR\tmp folder. However, because the permission has already been set, the attempt is unsuccessful.

RESOLUTION

To resolve this problem and to repair the installation, use one of the following methods:
  • If you know that only the POSIX jewels are corrupted, run the PsxReins.exe program.

    This program is in the setup folder on the root of the Windows Services for UNIX CD.

    The following files are in the %WINDIR%\system32 folder: Psxss.exe; Posix.exe; Psxdll.dll; Psxrun.exe
  • If you do not know the specific files that are corrupted, remove Windows Services for UNIX, and then install the product again.

STATUS

This behavior is by design.

MORE INFORMATION

The PsxReins.exe program is no longer included with Windows Services for UNIX 3.0.

Modification Type:MajorLast Reviewed:12/5/2003
Keywords:kbprb KB831909 kbAudDeveloper