Skip to content
Snippets Groups Projects
Commit 326653d5 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Set up umask as a possible configuration option.

(closes issue #13753)
 Reported by: irroot


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 556b0825
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,10 @@ PRIORITY=0
# set system filemax on supported OSes if this variable is set
# SYSMAXFILES=262144
# Asterisk allows full permissions by default, so set a umask, if you want
# restricted permissions.
#UMASK=022
# set max files open with ulimit. On linux systems, this will be automatically
# set to the system's maximum files open devided by two, if not set here.
# MAXFILES=32768
......@@ -89,6 +93,10 @@ else
fi
if test "x$UMASK" != "x"; then
umask $UMASK
fi
#
# Let Asterisk dump core
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment