From: raviteja.karumuri Date: Fri, 27 Sep 2024 11:05:52 +0000 (+0100) Subject: Creating DIR with 777 permissions to avoid issues when mounting the volume (For FTC... X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F68%2F13468%2F2;p=nonrtric.git Creating DIR with 777 permissions to avoid issues when mounting the volume (For FTC env) Issue-ID: NONRTRIC-1034 Signed-off-by: Raviteja Karumuri Change-Id: I497277e16923fe0b208fe7fe5c09cffe7fcd6cc9 --- diff --git a/test/common/a1pms_api_functions.sh b/test/common/a1pms_api_functions.sh index 5fb6e256..d635e81b 100644 --- a/test/common/a1pms_api_functions.sh +++ b/test/common/a1pms_api_functions.sh @@ -347,7 +347,9 @@ start_a1pms() { fi else echo " No files in mounted dir or dir does not exists" - mkdir db + # The 'db' directory is created with full permissions (777) and is not removed at the end of the script. + mkdir -m 777 db + echo "Creating directory under $SIM_GROUP/a1pms/$A1PMS_HOST_MNT_DIR/ with 777 permission. This directory will need to be manually removed when tests complete." fi cd $curdir