[asterisk-bugs] [Asterisk 0013153]: [patch] set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Sep 21 04:02:10 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 04:02 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.
======================================================================
----------------------------------------------------------------------
(0092737) mvanbaak (manager) - 2008-09-21 04:02
http://bugs.digium.com/view.php?id=13153#c92737
----------------------------------------------------------------------
if [ $AST_USER]; then
chown -R $AST_USER $ASTVARRUNDIR
fi
if [ $AST_GROUP ]; then
chgrp -R $AST_GROUP $ASTVARRUNDIR
fi
That way it doesn't matter :)
Issue History
Date Modified Username Field Change
======================================================================
2008-09-21 04:02 mvanbaak Note Added: 0092737
======================================================================
More information about the asterisk-bugs
mailing list