From: bri Date: Mon, 10 Feb 2014 14:20:32 +0000 (+0400) Subject: change permission of the directory X-Git-Tag: Delivery_V1_0_2013_07_12~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c13d33d789fdf6db3496d7e11bf33438c88242c2;p=tools%2Fsimanio.git change permission of the directory --- 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;