aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2018-09-25 14:33:29 -0700
committerManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2018-09-25 14:45:12 -0700
commit67e6b6dd230ccb83204d2d103a033f735c83a14f (patch)
treee28d3acb14d8a9174f10c94589c40aa346bdf0c6
parent8bbe931a6a070d6bff36a79ead8da9004d6ffbf7 (diff)
Fix text file busy error when calling sub scripts
Changing the file permission immediately followed by running the script results in text file busy error intermittently. Change-Id: Ib1aa2273135cb42a8837af2b5a3aa630ca61dd9e Issue-ID: AAF-519 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
-rwxr-xr-xbin/caservicecontainer/import.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/caservicecontainer/import.sh b/bin/caservicecontainer/import.sh
index 27d5059..7fa8909 100755
--- a/bin/caservicecontainer/import.sh
+++ b/bin/caservicecontainer/import.sh
@@ -50,7 +50,6 @@ if [ -f ${DATA_FOLDER}/out_parent_public ]; then
-password $TPM_PRK_PASSWORD
cd $WORKDIR
- chmod 755 softhsmconfig.sh
./softhsmconfig.sh $SRK_HANDLE $key_id $key_label $upin $sopin $SoftHSMv2SlotID
else
@@ -86,7 +85,6 @@ pkcs11-tool --module /usr/local/lib/softhsm/libsofthsm2.so -l --pin ${upin} \
# 4. Calling the functionalities of the sample application
cd $WORKDIR
-chmod 755 application.sh
./application.sh $key_label $SoftHSMv2SlotID $upin $cert_id
# 5. Cleanup