[Asterisk-Users] Rights problem with Voicemail and non-root user - yeah I know, I thought I had it fixed...

Tzafrir Cohen tzafrir at cohens.org.il
Sat Feb 18 16:16:27 MST 2006


On Fri, Feb 17, 2006 at 09:16:41AM +0100, Giorgio Incantalupo wrote:
> Hi Chuck,
> my solution may be considered a bit strange but I chose it after trying 
> asterisk code without success, trying to use Tzafrir patch but I had to 
> change asterisk user umask too....
> The right solution could be something like a "voicemail_dir_permissions" 
> parameter in voicemail.conf so anyone could change permissions without 
> modifying asterisk code. The externnotify parameter solution I used was 
> the faster and less "invasive". If you want to make a script to install 
> asterisk, it is better to copy voicemail.conf and a script file than 
> patching.

What should that parameter do? Why not just fix the problem (as in our
packages, and as I tried to push for in the above bug report).

You seem to want an explicit chmod on file creation (to override the
umask). That will still create some races where voicemail files are not
yet readable.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend




More information about the asterisk-users mailing list