From e4ae18960d7a05a3663376eac3f539c8f63b3f54 Mon Sep 17 00:00:00 2001 From: Harold Brenes Date: Thu, 21 Oct 2021 14:27:44 -0500 Subject: [PATCH 1/2] Set file permissions to 0666 by default. See #44 --- src/platform/unix/FileStream_Unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) From d05b6bef53331d5fa56a03e0528138ed4d6b0e0a Mon Sep 17 00:00:00 2001 From: Harold Brenes Date: Thu, 21 Oct 2021 14:31:49 -0500 Subject: [PATCH 2/2] Bump version to 1.2.2 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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