[asterisk-commits] seanbright: trunk r200254 - /trunk/contrib/init.d/rc.debian.asterisk
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 11 21:20:26 CDT 2009
Author: seanbright
Date: Thu Jun 11 21:20:19 2009
New Revision: 200254
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=200254
Log:
Call chgrp instead of chown when setting run directory group ownership.
(issue #13153)
Reported by: pabelanger
Modified:
trunk/contrib/init.d/rc.debian.asterisk
Modified: trunk/contrib/init.d/rc.debian.asterisk
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/contrib/init.d/rc.debian.asterisk?view=diff&rev=200254&r1=200253&r2=200254
==============================================================================
--- trunk/contrib/init.d/rc.debian.asterisk (original)
+++ trunk/contrib/init.d/rc.debian.asterisk Thu Jun 11 21:20:19 2009
@@ -73,7 +73,7 @@
fi
if [ $AST_GROUP ] ; then
ASTARGS="$ASTARGS -G $AST_GROUP"
- chown $AST_GROUP $ASTVARRUNDIR
+ chgrp $AST_GROUP $ASTVARRUNDIR
fi
# "start-stop-daemon --oknodo" returns 0 even if Asterisk was already running (as LSB expects):
start-stop-daemon --start --oknodo --exec $DAEMON -- $ASTARGS
More information about the asterisk-commits
mailing list