IBM Support

ClearCase on Solaris 10 or Solaris 11, error "pwd: cannot determine current directory!"

Troubleshooting


Problem

The getcwd() system call may erroneously return an error EACCES or EPERM under certain circumstances when set to an IBM Rational ClearCase view and running on an Oracle Solaris 10 or Solaris 11 system. This error is typically only seen when running in a Solaris 10 Non-Global Zone or Branded Zone. The exact sequence of events that causes the error depend on the underlying filesystem, so the exact use case can vary. A common example of a program which uses the getcwd() system call is the pwd command.

Symptom


The symptom of this problem is an error on Solaris 10 and Solaris 11 systems when using ClearCase, such as:

pwd: cannot determine current directory!


If the failing command is part of a build which is executing, the user may not see the actual error, but the symptom may be that the build fails.

The error may be returned from any executable which invokes the getcwd() system call.

The error is more likely to occur for applications deployed in a Solaris 10 or Solaris 11 Non-Global Zone or Branded Zone.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"MVFS","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"7.0.1.12;7.1.1.6;7.1.1.7;7.1.1.8;7.1.1.9;7.1.2.10;7.1.2.11;7.1.2.3;7.1.2.4;7.1.2.5;7.1.2.6;7.1.2.7;7.1.2.8;7.1.2.9;8.0;8.0.0.1;8.0.0.2;8.0.0.3;8.0.0.4;8.0.0.5;8.0.0.6;8.0.0.7;8.0.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Clearmake - Clearaudit - Omake","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"7.0.1.12;7.1.1.6;7.1.2.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
06 November 2018

UID

swg21501830