diff options
-rw-r--r-- | unotools/source/ucbhelper/tempfile.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx index 67dbd4bc2a7e..4e2cb84d09d4 100644 --- a/unotools/source/ucbhelper/tempfile.cxx +++ b/unotools/source/ucbhelper/tempfile.cxx @@ -90,14 +90,7 @@ bool ensuredir( const OUString& rUnqPath ) // HACK: create directory on a mount point with nobrowse option // returns ENOSYS in any case !! osl::Directory aDirectory( aPath ); -#ifdef UNX - /* RW permission for the user only! */ - mode_t old_mode = umask(077); -#endif osl::FileBase::RC nError = aDirectory.open(); -#ifdef UNX - umask(old_mode); -#endif aDirectory.close(); if( nError == osl::File::E_None ) return true; |