[Pkg-voip-commits] r3203 - asterisk/trunk/debian
Tzafrir Cohen
tzafrir-guest at alioth.debian.org
Sun Mar 4 10:10:21 CET 2007
Author: tzafrir-guest
Date: 2007-03-04 09:10:21 +0000 (Sun, 04 Mar 2007)
New Revision: 3203
Modified:
asterisk/trunk/debian/README.Debian
asterisk/trunk/debian/asterisk.init
asterisk/trunk/debian/changelog
Log:
Fix umask of Asterisk for the voicemail.
Modified: asterisk/trunk/debian/README.Debian
===================================================================
--- asterisk/trunk/debian/README.Debian 2007-03-04 08:57:44 UTC (rev 3202)
+++ asterisk/trunk/debian/README.Debian 2007-03-04 09:10:21 UTC (rev 3203)
@@ -25,6 +25,8 @@
To change those values you can edit /etc/default/asterisk.
+Alternatively, edit /etc/asterisk/asterisk.conf .
+
init.d Script Commands
======================
In addition to reload, that runs the asterisk CLI command 'reload' there
@@ -39,6 +41,9 @@
might not be able to restart the daemon without altering permissions to the
files first. Alternatively use '/etc/init.d/asterisk debug'.
+Asterisk is run with a umask of 002 by default, to allow writing
+group-owned voicemail files. To change this value, set the value if 'UMASK'
+in /etc/default/asterisk .
Getting started with config and more features
=============================================
Modified: asterisk/trunk/debian/asterisk.init
===================================================================
--- asterisk/trunk/debian/asterisk.init 2007-03-04 08:57:44 UTC (rev 3202)
+++ asterisk/trunk/debian/asterisk.init 2007-03-04 09:10:21 UTC (rev 3203)
@@ -24,7 +24,9 @@
DESC="Asterisk PBX"
PIDFILE="/var/run/asterisk/asterisk.pid"
ASTSAFE_PIDFILE="/var/run/asterisk/asterisk_safe.pid"
+UMASK=007 # by default
+
# by default: use real-time priority
PARAMS=""
AST_REALTIME="yes"
@@ -69,6 +71,11 @@
set -e
+if [ "$UMASK" != '' ]
+then
+ umask $UMASK
+fi
+
status() {
plist=`ps auxw | grep "$DAEMON" | grep -v grep | awk '{print $2}' | tr '\012' ' '`
if [ "$plist" = "" ]; then
Modified: asterisk/trunk/debian/changelog
===================================================================
--- asterisk/trunk/debian/changelog 2007-03-04 08:57:44 UTC (rev 3202)
+++ asterisk/trunk/debian/changelog 2007-03-04 09:10:21 UTC (rev 3203)
@@ -4,8 +4,9 @@
[ Tzafrir Cohen ]
* New upstream release. Also fixes remote SIP security hole.
* Updated bristuff patch.
+ * Fix umask of Asterisk for the voicemail.
- -- Tzafrir Cohen <tzafrir at boomtime.cohens.org.il> Sun, 4 Mar 2007 00:35:53 +0200
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Sun, 4 Mar 2007 00:35:53 +0200
asterisk (1:1.2.15~dfsg-1) unstable; urgency=low
More information about the Pkg-voip-commits
mailing list