[Asterisk-Users] vmail.cgi cannot read/delete messages

Masakazu Nakano n-mack at md.neweb.ne.jp
Sat May 10 05:46:58 MST 2003


Hi all

I was changed umask in init.asterisk.

and start it, and check it.

.txt is no problem. but voice files aren't effect it.. 

I found a this line in app_voicemail.c

others[x] = ast_writefile(recordfile, sfmt[x], comment, O_TRUNC, 0, 0700);

is that meaning...the voice file is fixed attribute ?

# Now I'm making vmail.php and vmail for xoops :-)
# and codec converter with ecasound php library

---
Masakazu Nakano.
Dairiten.com - an open source VoIP and Ubiquitus Portal site in Japan.
http://www.dairiten.com/modules/news/
powered by xoops at http://www.xoops.org

On Fri, 9 May 2003 13:39:08 +1000
"Adam Goryachev" <mailinglists at websitemanagers.com.au> wrote:

>You really have two options:
>use umask (which is already supported without changes to asterisk, this
>allows for anyone to set the umask they require).
>
>Alternative is to change asterisk to support config options for owner,
>group, and permissions. This means that we can set the owner/group to that
>required by the webserver rather than just leaving them as world read/write.
>
>Regards,
>Adam
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list