I have a problem with my vmail.cgi. In /var/spool/asterik/voicemail/ all foders and files are created with asterisk user rights. Asterisk runs with root rights so all folder have only 0700 permisions. My server apache runs with the rights of wwwrun account so it can’t acces to files and folders.
I have modifed this lines in app_voicemail.c :
#define VOICEMAIL_DIR_MODE 0700
#define VOICEMAIL_FILE_MODE 0600
#define VOICEMAIL_DIR_MODE 0770
#define VOICEMAIL_FILE_MODE 0660
After recompiling and reinstall it stil doesn’t work !!!
Do you have an idea please ?
Thanks a lot !