From 67e6b6dd230ccb83204d2d103a033f735c83a14f Mon Sep 17 00:00:00 2001 From: Manjunath Ranganathaiah Date: Tue, 25 Sep 2018 14:33:29 -0700 Subject: 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 --- bin/caservicecontainer/import.sh | 2 -- 1 file changed, 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 -- cgit 1.2.3-korg