[Asterisk-Dev] Creating VoiceMail File Permissions

Michael Stearne mstearne at gmail.com
Thu Jun 16 07:37:29 MST 2005

On 6/16/05, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> On Thu, Jun 16, 2005 at 02:46:22AM -0400, Michael Stearne wrote:
> > I am looking to have the files that are created by the app_voicemail
> > system to have a 0777 permission by default instead of the default
> > 0700.  In app_voicemail.c I have changed all the directory creations
> > to 0777 but can't figure out how to change the files (wavs, gsm, etc.)
> > created to 777.  The topic is discussed here but I can't find the
> > message containing the patch.
> >
> > http://lists.digium.com/pipermail/asterisk-users/2003-May/011845.html
> Now, why would you want that? chmod 666/777 is usually in indication of
> a missing chown/chgrp.

I want those permissions because I would like the files created by
voicemail to be accessible by the web server.  Should maybe I have
Asterisk be run by the apache user?

> Oh, and look into the umask of the user under which Asterisk runs.

I am usually running it as root.  


More information about the asterisk-dev mailing list