Use group permissions. Add the apache user to the asterisk group and
give the group the appropriate read and/or write access. IMO this is the
easiest way to get around the apache permissions thing, and probably the
Right Way (tm)

-Ryan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of amaury
BOSSE
Sent: Monday, November 07, 2005 12:44 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Change Asterisk User

Thanks for your answer,
I am working on Debian Sarge but I have compiled Astersik 1.0.9 myself
without .deb Packages.
I need to access to voicemail and sound files from my web-interface (php
and cgi/perl) but I can't change Apache user because of others
applications.
Asterisk creates files under Asterisk user and I have to access them
from www-data user.
Do you have other solution? I have tried using sudo but it doesn't seem
to work.

Regards,
Amaury


_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to