Creating DIR with 777 permissions to avoid issues when mounting the volume (For FTC... 68/13468/2 master
authorraviteja.karumuri <raviteja.karumuri@est.tech>
Fri, 27 Sep 2024 11:05:52 +0000 (12:05 +0100)
committerraviteja.karumuri <raviteja.karumuri@est.tech>
Mon, 30 Sep 2024 13:44:53 +0000 (14:44 +0100)
Issue-ID: NONRTRIC-1034
Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
Change-Id: I497277e16923fe0b208fe7fe5c09cffe7fcd6cc9

test/common/a1pms_api_functions.sh

index 5fb6e25..d635e81 100644 (file)
@@ -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