[Asterisk-Users] Voicemail questions
Adam Fineberg
fineberg at levanta.com
Tue Nov 9 22:38:02 MST 2004
> -------- Original Message --------
> Subject: [Asterisk-Users] Voicemail questions
> Date: Tue, 9 Nov 2004 15:16:40 -0500
> From: Chris Armour <chris.armour at sympatico.ca>
> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
> To: <asterisk-users at lists.digium.com>
>
> More Newbie Questions! This time about Comedian Mail:
>
> 1. I have the vmail.cgi script running and it looks great. Is there a
permanent fix to the permissions problem on the messages? Right now I
> have to "chmod 777" the voicemail directory before I can listen to
messages, which is obviously not workable for normal use.
>
Attached is a patch I made to app_voicemail.c that will set the owner,
group and perms of all files and directories that are created so that
vmail.cgi can run as user/group apache without setuid on vmail.cgi. The
owner/group/perms are configurable in some static variables at the top
so if you need them to change, you only need to change them there. Hope
this helps.
Adam Fineberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: voicemail.patch
Type: text/x-patch
Size: 6230 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041109/05ac1365/voicemail.bin
More information about the asterisk-users
mailing list