ux_dus_rights.sh runs very long time

Document ID : KB000086719
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): 5

Error Message :
none

Patch level detected:Dollar Universe 5.6
Product Version: Dollar.Universe 5.6.0 FX25010

Description :In rare cases the script ux_dus_rights.sh runs very long time (more than 30 minutes or may be indefinitely)
Environment:
OS: All Unix
Cause:
Cause type:
Defect
Root Cause: When For instance:Since the log directory is not a subdirectory of the root the condition should not be valid, but due to an oversight it is and the script start to search the whole file system
Resolution:
Open the script of ux_dus_rights with vi and comment the following line:

#if [ "${UXPRINTSUBDIR:-no_value}" != "N" ]
#then
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXDEX
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXLEX
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXPEX
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXDAP
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXLAP
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXPAP
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXDSI
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXLSI
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXPSI
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXDIN
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXLIN
#UX_CHECK_DIR_DIFF $UXDIR_ROOT $UXPIN
#fi

Fix Status: No Fix

Additional Information:
Workaround :
N/A