diff --git a/VERSION b/VERSION index cb174d58..d2d61a7e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.1 \ No newline at end of file +1.2.2 \ No newline at end of file diff --git a/src/platform/unix/FileStream_Unix.cpp b/src/platform/unix/FileStream_Unix.cpp index 52595818..8a24c407 100644 --- a/src/platform/unix/FileStream_Unix.cpp +++ b/src/platform/unix/FileStream_Unix.cpp @@ -41,7 +41,7 @@ bool FileStream::Open( const char* path, FileStream& file, FileMode mode, FileAc #endif if( mode == FileMode::Create ) - fmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; + fmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; int fd = open( path, fdFlags, fmode ); if( fd < 0 )