IBM Support

Access denied accessing files from Windows Explorer but not from Command Prompt (CLEARCASE_GROUPS)

Troubleshooting


Problem

This technote explains why attempts to open a directory inside an IBM® Rational® ClearCase® VOB using the Microsoft® Windows® Explorer results in an []Access is denied[] dialog box and provides instructions to resolve the issue.

Symptom

Attempts to open a directory inside a VOB using Windows Explorer results in the error

Access is denied


Note: Opening a command shell or ClearCase Explorer and accessing the same directory works without a problem.

Cause


All users that are members of more than 32 Windows groups and using the CLEARCASE_GROUPS variable are receiving Access Denied error from Windows Explorer, but not from the command line.

This is due to the fact that Windows only opens one process for explorer.exe.

This process opens before the CLEARCASE_GROUPS variable is read.

When any additional Windows Explorer sessions are needed, they are opened through the thread of the original process.

These new sessions do not receive a new process ID, thus the ACLs on the original process and any subsequent threads contain the original list of groups for the user and not the reordered groups from the CLEARCASE_GROUPS variable.

See technote 1124574 for more information about the CLEARCASE_GROUPS variable.

Resolving The Problem

In order to resolve this issue, you will need to perform the following steps:

  1. Force Windows Explorer to generate a new process ID, using one of the following methods.

    a. Open Windows Explorer
    b. Select Tools > Folder Options...
    c. Click the View tab
    d. Check the option Launch folder windows in a separate process

    OR
  2. Follow the steps outlined in the below Microsoft KB Article:

    http://support.microsoft.com/default.aspx?scid=kb;en-us;156366

If this appears to be a problem only with the CLEARCASE_PRIMARY_GROUP variable, please refer to technote 1149989.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Environment Variables","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2002.05.00;2003.06.00","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21196032