summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/ucbhelper/tempfile.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx
index 451a4786f635..074c21de7df9 100644
--- a/unotools/source/ucbhelper/tempfile.cxx
+++ b/unotools/source/ucbhelper/tempfile.cxx
@@ -192,13 +192,7 @@ void CreateTempName_Impl( String& rName, sal_Bool bKeep, sal_Bool bDir = sal_Tru
if ( bDir )
{
-#ifdef UNX /* RW permission for the user only! */
- mode_t old_mode = umask(077);
-#endif
FileBase::RC err = Directory::create( aTmp );
-#ifdef UNX
- umask(old_mode);
-#endif
if ( err == FileBase::E_None )
{
// !bKeep: only for creating a name, not a file or directory