From c13d33d789fdf6db3496d7e11bf33438c88242c2 Mon Sep 17 00:00:00 2001 From: bri Date: Mon, 10 Feb 2014 18:20:32 +0400 Subject: [PATCH] change permission of the directory --- src/SimanIO_Link.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SimanIO_Link.cxx b/src/SimanIO_Link.cxx index 25b4899..dd90295 100644 --- a/src/SimanIO_Link.cxx +++ b/src/SimanIO_Link.cxx @@ -111,6 +111,7 @@ SimanIO_Configuration SimanIO_Link::RetrieveConf() //Cretae the directories system(("mkdir -p " + aClientFileDir).c_str()); + system(("chmod -R g+w " + aTmpDir + "/SimanSalome/").c_str()); //Download the siman-salome.conf file ofstream outputStream; @@ -167,7 +168,9 @@ SimanIO_Configuration SimanIO_Link::RetrieveConf() }//aDocIter }//actIter - + //delete the siman-salome.conf file. + system(("rm " + aClientFilePath).c_str()); + //Delete objects delete aCreateConfigFileRequest; delete aCreateConfigFileResponse; -- 2.39.2