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:
- cd /net/hostname/vobstore/testvob.vbs/.identity
- chmod 4400 uid
- chmod 2410 gid
- chmod 2410 group.xxx (where xxx is an integer)
- 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:
- cd /net/hostname/viewstore/view/.identity
- chmod 4400 uid
- chmod 2410 gid
- chmod 2410 group.xxx (where xxx is an integer)
- 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
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21122514