On 14/05/2010, Motiejus Jakštys desired@gmail.com wrote:
Talking about file permissions, on Linux everything is possible using
POSIX ACLs. You can set specific rights to files/directories for
certain users.
Note 1: if setting group permissions is enough, use that.
Note 2: Asterisk and
I want to make a web interface so my users can listen/erase voicemails.
Is there a way to do this from the Asterisk manager interface? Since
Asterisk and the web server do not run as the same user I cannot do a
direct manipulation of the voicemail files
in /var/spool/asterisk/voicemail.
You might be able to use local channels to do what you want.
As for the user asterisk runs as and the user the web server run as you can
maybe have both users belong to the same secondary group and gain the access
you need that way.
Partly depends on what exactly you are wanting to do.
--
Jim
Talking about file permissions, on Linux everything is possible using
POSIX ACLs. You can set specific rights to files/directories for
certain users.
Note 1: if setting group permissions is enough, use that.
Note 2: Asterisk and web server should be on separate machines (at
least virtual machines)