diff -up ./esc/rpm/esc.fix32 ./esc/rpm/esc
--- ./esc/rpm/esc.fix32 2020-03-23 03:12:03.028787312 -0400
+++ ./esc/rpm/esc 2020-03-23 03:13:09.586642559 -0400
@@ -24,6 +24,7 @@ ESC_ARGS=
REDHAT_BASE=~/.redhat
ESC_PROFILE_BASE=$REDHAT_BASE/esc
+ESC_CACHE_BASE=~/.cache/redhat/esc
ESC_LOG_FILE=esc.log
ESC_PROFILE_PERMS=700
@@ -110,6 +111,9 @@ else
chmod -R $ESC_PROFILE_PERMS $ESC_PROFILE_BASE
fi
+chmod -Rf $ESC_PROFILE_PERMS $ESC_CACHE_BASE
+
+
cd $ESC_PATH
#First check if we just want the version
@@ -153,6 +157,8 @@ then
fi
#echo "force start esc not running start esc..."
./$ESC_EXEC
+ sleep 4
+ chmod -Rf $ESC_PROFILE_PERMS $ESC_CACHE_BASE
exit 0
fi
@@ -169,6 +175,7 @@ else
sleep 4
#echo "done sleeping bring up esc window."
./$ESC_EXEC
+ chmod -Rf $ESC_PROFILE_PERMS $ESC_CACHE_BASE
exit 0
fi