diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-12 02:20:19 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-12 02:20:19 +0000 |
commit | ce335ab37932031c4957c7f0ce3143d0d06df49e (patch) | |
tree | a48ab333a5054d900dc03fbfdde6bea0847460d3 /contrib/init.d | |
parent | d50af8adf9be726a78bb8f1ba76a11ac6a6956c5 (diff) |
Call chgrp instead of chown when setting run directory group ownership.
(issue #13153)
Reported by: pabelanger
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@200254 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib/init.d')
-rwxr-xr-x | contrib/init.d/rc.debian.asterisk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk index 86babe83f..74cdeffe0 100755 --- a/contrib/init.d/rc.debian.asterisk +++ b/contrib/init.d/rc.debian.asterisk @@ -73,7 +73,7 @@ case "$1" in 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 |