[Asterisk-Users] vmail.cgi cannot read/delete messages
Steven Critchfield
critch at basesys.com
Thu May 8 05:58:51 MST 2003
man bash
This will give you definitive information.
umask sets a mask on your default permissions flags. It works like your
netmask on TCPIP. A umask=000 will default your permissions to 777. I
think you may be used to a umask=022 which gives you a default
permisions of 755.
On Thu, 2003-05-08 at 08:11, Uriel Carrasquilla wrote:
> 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
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-users
mailing list