[Asterisk-Users] voicemail file access problems
Armand A. Verstappen
armand at nl.envida.net
Wed Jul 30 17:44:03 MST 2003
On Wed, 2003-07-30 at 22:33, Patrick wrote:
> Did it work after you left a new voice mail message?
>
> I was looking into the source code to fix it so that the euid was set to
> nobody, create the file and then change it back to uid 0, but that didn't
> work. Or, maybe change the file mode was 770 with the group set so that
> the webserver could modify the file so I wouldn't have to run a suid .cgi
> script.
If you create the _directories_ the files are going to be created in
with group apache (or whatever group your webserver runs under), with
the sgid bit set, doesn't that cause the file to be created with proper
permission for the cgi?
--
Envida http://www.envida.net/
Armand A. Verstappen Graadt van Roggenweg 328
armand at nl.envida.net 3531 AH Utrecht
tel: +31 (0)30 298 2255 Postbus 19127
fax: +31 (0)30 298 2111 3501 DC Utrecht
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030730/71a1e9ee/attachment.pgp
More information about the asterisk-users
mailing list