From a5ce89d14f76fcc71975137dc1d109fe6966e6bf Mon Sep 17 00:00:00 2001 From: Godzil Date: Tue, 11 Feb 2020 00:17:38 +0000 Subject: [PATCH] Hmmm it was lurking in other places! --- source/ws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ws.cpp b/source/ws.cpp index 49e5365..788abb5 100644 --- a/source/ws.cpp +++ b/source/ws.cpp @@ -459,7 +459,7 @@ int ws_saveState(char *statepath) } } - int fp=open(newPath, O_RDWR|O_CREAT); + int fp=open(newPath, O_RDWR|O_CREAT, 0644); delete newPath; if (fp==-1)