[Asterisk-Users] vmail.cgi cannot read/delete messages
Uriel Carrasquilla
uriel at adelphia.net
Thu May 8 06:11:13 MST 2003
If you excuse my ignorance. What "umask", what it? where is it? how do I
set up?
URiel
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Adam
Goryachev
Sent: Thursday, May 08, 2003 12:00 AM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] vmail.cgi cannot read/delete messages
Isn't the mode determined by the umask which is inherited by asterisk at
startup ?? Just make sure you define an appropriate umask setting when
starting asterisk...
Regards,
Adam
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Uriel
Carrasquilla
Sent: Thursday, 8 May 2003 1:03 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] vmail.cgi cannot read/delete messages
vmail.cgi rocks (if I can borrow the expression for Mark Street). As Mark
pointed out, the /vm/INBOX messages are created with 0700 security and
vmail.cgi is not happy. Apache/cgi/vmail.cgi cannot play them unless I fool
around with the Apache wrapper or chmod 755 *.* thefiles myself. (Tedious,
that is why I like computers).
Obviously this is not acceptable. I took a trip to the apps/app_voicemail.c
country club and found that I can modify it to force the issue by altering
the directory and files as it "happens" when recording takes place.
What is everybody else doing?
I am, for sure, not the only one with this issue. It comes with the cgi
territory. I am trying to keep my pearl vmail script with the -T switch. I
can also modify with chmod here but I am going to force the issue, I prefer
the "c" code.
Regards,
Uriel
_______________________________________________
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