From b4600632f6284f8184612c0f39ba0f95966df087 Mon Sep 17 00:00:00 2001 From: "raviteja.karumuri" Date: Fri, 27 Sep 2024 12:05:52 +0100 Subject: [PATCH] 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 --- test/common/a1pms_api_functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.16.6