aboutsummaryrefslogtreecommitdiff
path: root/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 29d2805..a058e0f 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -18,7 +18,7 @@ namespace Bu { subExceptionDef( FileException ) }
18Bu::File::File( const Bu::FString &sName, int iFlags ) : 18Bu::File::File( const Bu::FString &sName, int iFlags ) :
19 fd( -1 ) 19 fd( -1 )
20{ 20{
21 fd = ::open( sName.getStr(), getPosixFlags( iFlags ) ); 21 fd = ::open( sName.getStr(), getPosixFlags( iFlags ), 0666 );
22 if( fd < 0 ) 22 if( fd < 0 )
23 { 23 {
24 throw Bu::FileException( errno, "%s: %s", 24 throw Bu::FileException( errno, "%s: %s",