]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Create temporary directory on disk to be able writing in it
authorjfa <jfa@opencascade.com>
Wed, 30 Nov 2005 15:26:50 +0000 (15:26 +0000)
committerjfa <jfa@opencascade.com>
Wed, 30 Nov 2005 15:26:50 +0000 (15:26 +0000)
src/LightApp/LightApp_Driver.cxx

index a10d2be1e9cf34e4761278182402f6ddf7b17393..3febbba9d97be0f3af35907b9c03605ae4f5aa38 100644 (file)
@@ -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();