[asterisk-bugs] [Asterisk 0013153]: [patch] set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Sep 21 03:36:48 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13153
======================================================================
Reported By: pabelanger
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13153
Category: Core/BuildSystem
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0
SVN Revision (number only!): 133524
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-07-24 17:14 CDT
Last Modified: 2008-09-21 03:36 CDT
======================================================================
Summary: [patch] set
ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path
Description:
A simple patch to change the default location for ASTVARRUNDIR.
The reason for this revolves around running asterisk as a non-root user.
With this patch, we can setup specific permission on the folder for our
non-root user to control.
Without this patch, there is no way to control the permission on the
ASTVARRUNDIR path because other application also write to this path.
A conversation on #asterisk-dev with seanbright raised no major
objections.
======================================================================
----------------------------------------------------------------------
(0092736) tzafrir (manager) - 2008-09-21 03:36
http://bugs.digium.com/view.php?id=13153#c92736
----------------------------------------------------------------------
Basically:
if [ $AST_USER ] ; then
chown -R $AST_USER:$AST_GROUP $ASTVARRUNDIR
fi
(and hope nobody sets AST_GROUP without setting AST_USER)
Issue History
Date Modified Username Field Change
======================================================================
2008-09-21 03:36 tzafrir Note Added: 0092736
======================================================================
More information about the asterisk-bugs
mailing list