Troubleshooting
Problem
Running the IBM® Rational® ClearCase® fix_prot utility or other commands incorrectly on a UNIX® VOB or view can remove the setuid and setgid bits on files in the [].identity[] directory. This technote discusses how to correct this condition.
Cause
Running /usr/atria/etc/utils/fix_prot -r -chmod 775 </path/to/view or VOB> will cause the setuid and setgid bits to be removed in the .identity directory.
Review technote 1142606 for more information on how to properly run the fix_prot utility.
Resolving The Problem
To fix the setuid and setgid bits, login as ROOT or the VOB owner on the VOB server and run:
fix_prot -root </path/to/view or VOB>
Alternately, you can:
cd <path to VOB/view storage directory>/.identity
so that you are in the ".identity" directory and run:
chmod 4400 uid
chmod 2410 g*
Once either of these methods have been used, you can check that these bits have been set correctly by the ls -al output. Running it from within the .identity directory, the output should look something like:
drwx------ 2 user1 games 4096 Mar 2 15:03 .
drwxr-xr-x 8 user1 games 4096 Apr 1 14:49 ..
-r----s--- 1 user1 games 0 Mar 2 15:03 gid
-r----s--- 1 user1 group1 0 Mar 2 15:03 group.10101
-r----s--- 1 user1 group2 0 Mar 2 15:03 group.10102
-r-S------ 1 user1 games 0 Mar 2 15:03 uid
Note the uppercase and lower-case S's in the first column.
In some cases it may also be necessary to correct container protection problems.
To do this run:
cleartool setview <view_tag>
cleartool checkvob -fix -f -pro -pool <path to VOB storage directory>
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21204876