[asterisk-dev] Permission for files generated by voicemail
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Tue Aug 1 06:05:43 MST 2006
On Tuesday 01 August 2006 06:40, Jean-Yves Avenard wrote:
> There is a problem in Asterisk 1.2.10 (at least). Even though in
> theorie the source code of app_voicemail.c can be modifier to set
> up the proper permission on the directories and file created for
> the voicemail, this code can not work.
> It doesn't take into account that the umask needs to be set
> properly for the argument given to "open" to act as intended. As a
> result, changing the value of VOICEMAIL_FILE_MODE will have no
> effect in most cases.
Going forward, the decision is that we will depend upon the umask,
instead of trying to set the permissions manually. See trunk.
--
Tilghman
More information about the asterisk-dev
mailing list