From 7ed98d3bd54870a62fcd667e4c799c2d4011ace9 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 21 Oct 2021 09:48:51 -0400 Subject: [PATCH] Added umask Some people use umask 077 (like me), and it doesn't seem to work. I tried with umask 022 and it worked just fine, so I think we should set the default umask in the script. It would be nice if we can figure out something stricter than 022 as well. --- PVEDiscordDark.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVEDiscordDark.sh b/PVEDiscordDark.sh index b4702d8..ee6ba63 100644 --- a/PVEDiscordDark.sh +++ b/PVEDiscordDark.sh @@ -1,6 +1,8 @@ #!/bin/bash # https://github.com/Weilbyte/PVEDiscordDark +umask 022 + #region Consts RED='\033[0;31m' BRED='\033[0;31m\033[1m'