diff options
author | Sean Bright <sean@malleable.com> | 2009-06-12 02:20:19 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-06-12 02:20:19 +0000 |
commit | 4e9cce1b72da106b40636ba9b98de258af3d3272 (patch) | |
tree | a48ab333a5054d900dc03fbfdde6bea0847460d3 /contrib/init.d | |
parent | c6ce84a3df51ccaeef569cba6432604670a02410 (diff) |
Call chgrp instead of chown when setting run directory group ownership.
(issue #13153)
Reported by: pabelanger
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 |