From a0ca0101ac9fb8075aec8f8f53876c8c52def9c1 Mon Sep 17 00:00:00 2001
From: Elena.Budnik <ebudnik@irap.omp.eu>
Date: Fri, 15 Jun 2018 11:20:33 +0200
Subject: [PATCH] permissions dir

---
 update_amda/cp2amda | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/update_amda/cp2amda b/update_amda/cp2amda
index 3310f19..62ca38b 100755
--- a/update_amda/cp2amda
+++ b/update_amda/cp2amda
@@ -30,9 +30,9 @@ if [ -f "$AMDAINTERNALDIR/ParamTemplateList.xml" ]; then
    cp $AMDAINTERNALDIR/ParamTemplateList.xml $ParamTemplate
 fi
 
-# copy all parameter desctiptions 
+# copy all parameter descriptions 
 if [ ! -d "$PARAMS_LOCALDB_DIR" ]; then
-	mkdir $PARAMS_LOCALDB_DIR
+	mkdir -m 775 $PARAMS_LOCALDB_DIR
 fi  
 cp $NEWMETA/final/*.xml  $PARAMS_LOCALDB_DIR
 
--
libgit2 0.21.2