Salome HOME
projects
/
tools
/
simanio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9202e6
)
change permission of the directory
author
bri
<bri@opencascade.com>
Mon, 10 Feb 2014 14:20:32 +0000
(18:20 +0400)
committer
bri
<bri@opencascade.com>
Mon, 10 Feb 2014 14:20:32 +0000
(18:20 +0400)
src/SimanIO_Link.cxx
patch
|
blob
|
history
diff --git
a/src/SimanIO_Link.cxx
b/src/SimanIO_Link.cxx
index 25b489976ffce01f23237a1b152d28fdd8ba7092..dd90295db6f26077b6a5aa1d9f3633244babdc1b 100644
(file)
--- 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;