From: jfa Date: Wed, 30 Nov 2005 15:26:50 +0000 (+0000) Subject: Create temporary directory on disk to be able writing in it X-Git-Tag: BR_3_1_0_deb~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eec5129fdc6cd9b0a2ca5d590df93a6d532eab53;p=modules%2Fgui.git Create temporary directory on disk to be able writing in it --- diff --git a/src/LightApp/LightApp_Driver.cxx b/src/LightApp/LightApp_Driver.cxx index a10d2be1e..3febbba9d 100644 --- a/src/LightApp/LightApp_Driver.cxx +++ b/src/LightApp/LightApp_Driver.cxx @@ -505,6 +505,9 @@ std::string LightApp_Driver::GetTmpDir() aDir = OSD_Directory(aPath); } + OSD_Protection aProtection(OSD_RW, OSD_RWX, OSD_RX, OSD_RX); + aDir.Build(aProtection); + myTmpDir = aTmpDir.ToCString(); return aTmpDir.ToCString();