mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
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
(cherry picked from commit 4e43b9d308
)
This commit is contained in:
committed by
Asterisk Development Team
parent
ce130d74e3
commit
32bb90e11f
@@ -97,7 +97,7 @@ else
|
|||||||
|
|
||||||
if test ! -d "${ASTVARRUNDIR}"; then
|
if test ! -d "${ASTVARRUNDIR}"; then
|
||||||
mkdir -p "${ASTVARRUNDIR}"
|
mkdir -p "${ASTVARRUNDIR}"
|
||||||
chmod 770 "${ASTVARRUNDIR}"
|
chmod 755 "${ASTVARRUNDIR}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user