Blame SOURCES/esc-1.1.0-fix28.patch

9ccdfb
diff -up ./esc/rpm/esc.fix28 ./esc/rpm/esc
9ccdfb
--- ./esc/rpm/esc.fix28	2017-11-02 13:33:22.954482609 -0700
9ccdfb
+++ ./esc/rpm/esc	2017-11-02 13:34:15.847107506 -0700
9ccdfb
@@ -25,6 +25,7 @@ ESC_ARGS=
9ccdfb
 REDHAT_BASE=~/.redhat
9ccdfb
 ESC_PROFILE_BASE=$REDHAT_BASE/esc
9ccdfb
 ESC_LOG_FILE=esc.log
9ccdfb
+ESC_PROFILE_PERMS=700
9ccdfb
 
9ccdfb
 ESC_PATH=$LIBDIR/esc-1.1.0
9ccdfb
 ESC_BIN_PATH=/usr/bin
9ccdfb
@@ -102,8 +103,8 @@ processArgs $*
9ccdfb
 if [ ! -d $ESC_PROFILE_BASE ]
9ccdfb
 then
9ccdfb
     mkdir -p  $ESC_PROFILE_BASE
9ccdfb
-    chmod  755 $REDHAT_BASE
9ccdfb
-    chmod  755 $ESC_PROFILE_BASE
9ccdfb
+    chmod  $ESC_PROFILE_PERMS $REDHAT_BASE
9ccdfb
+    chmod  $ESC_PROFILE_PERMS $ESC_PROFILE_BASE
9ccdfb
 fi
9ccdfb
 
9ccdfb
 cd $ESC_PATH