[Asterisk-Users] Vmail.cgi Bahhh!!

Your Own ISP .com mylist at lightwavetech.com
Wed Oct 20 08:42:05 MST 2004


Well, after messing with the voicemail folder and chmoding it, I could see
my vmails. Woo Hoo..

I will figure out the permission issue I think, just needed to find the
cause and this was it.

Thanks a ton!! 


Thanks,
  Todd Routhier
  Lightwave Technologies, LLC.
 
--
Start Your Dialup Internet Service!
http://www.YourOwnISP.com 
 
 
Lightwave Technologies, LLC.
http://www.LightWaveTech.com
 
 
 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Josh Krueger
Sent: Wednesday, October 20, 2004 10:35 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Vmail.cgi Bahhh!!

> asterisk records the files to the filesystem with root permissions, 
> which a properly configured apache installation doesn't have access 
> too.

Actually, it should only record the files with root permissions if asterisk
itself is running as root.
Which you shouldnt be doing in the first place, serious security problem if
asterisk gets a few exploitable vulnerabilities.

And even if you go about chmodding in a cron job, you shouldnt chmod it 777,
it should at least be 770 with the same group as apache.

Try running asterisk as a regular user, thats in the same group as apache.
Then it should create the files so they are readable by apache, but retain
write permissions for asterisk.
----------------------------------
Josh Krueger
Urban Communications
http://www.urbancom.net/

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list