From 0c6253b9b8d5548fedbe1d7d4754b0cf6bd31f18 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Mon, 11 Sep 2023 10:19:41 -0600 Subject: [PATCH] safe_asterisk: Change directory permissions to 755 If the safe_asterisk script detects that the /var/lib/asterisk directory doesn't exist, it now creates it with 755 permissions instead of 770. safe_asterisk needing to create that directory should be extremely rare though because it's normally created by 'make install' which already sets the permissions to 755. Resolves: #316 --- contrib/scripts/safe_asterisk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/scripts/safe_asterisk b/contrib/scripts/safe_asterisk index 66213a530d..02c13733fb 100644 --- a/contrib/scripts/safe_asterisk +++ b/contrib/scripts/safe_asterisk @@ -97,7 +97,7 @@ else if test ! -d "${ASTVARRUNDIR}"; then mkdir -p "${ASTVARRUNDIR}" - chmod 770 "${ASTVARRUNDIR}" + chmod 755 "${ASTVARRUNDIR}" fi fi