IBM Support

Error: ./identity/uid is not set-id

Troubleshooting


Problem

This technote explains why the error, []./identity/uid is not set-id[], will occur when attempting to work in a VOB or set to a view using IBM® Rational® ClearCase®.

Symptom


Attempts to access a VOB, such as cat a file, or set to a view, results in the following error:

./identity/uid is not set-id


The vob_log contains an error like:


Error: ./identity/uid is not set-id".


Note:
This error will also be found in the view_log and the albd_log if a setview command fails.

Cause


The permissions on the VOB's or view's .identity directory files are incorrect.

Diagnosing The Problem


Change directory (cd) to the VOB or view's storage area's .identity subdirectory and execute the following command.

ls -la
-r----x--- 1 vobadm vobadm    0 Jun  8 08:50 gid
-r----x--- 1 vobadm users 0 Jun  8 08:50 group.1
-r----s--- 1 vobadm other 0 Jun 8 08:50 group.2
-r----x--- 1 vobadm vobadm 0 Jun 8 08:50 uid

Note the sticky bit is missing on, gid, group.1 and uid.

Resolving The Problem

For VOBs:

Change directory (cd) to the VOB or view's storage area's .identity subdirectory and execute the following commands:

  1. cd /net/hostname/vobstore/testvob.vbs/.identity

  2. chmod 4400 uid

  3. chmod 2410 gid

  4. chmod 2410 group.xxx  (where xxx is an integer)

  5. umount and mount the VOB for the permissions change to take effect:

    cleartool
    umount /vobs/testvob

For views:

Change directory to the view storage area's .identity subdirectory and execute:

  1. cd /net/hostname/viewstore/view/.identity

  2. chmod 4400 uid

  3. chmod 2410 gid

  4. chmod 2410 group.xxx  (where xxx is an integer)

  5. Then exit the view and kill and or restart the view_server for this view for the permissions change to take effect.

    Note: To find and kill the view server process:
    %>cleartool endview -server testview

    or

    %>ps -ef | grep view_server
    user 11009 8889 0 17:04:09 pts/3   0:00 view_server /viewstore/testview.vws -u....

    %>kill -9 11009


[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"View: Dynamic","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"7.0.1;7.0;2003.06.16;2003.06.00","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21122514