My suggestion would be, use the externnotify=/usr/bin/myapp feature in voicemail.conf to chown the permissions to something else. Since they are root, asterisk should have no problem deleting and moving them around with less privileges.

Chris Coulthurst
[EMAIL PROTECTED]

----- Original Message ----- From: "hugolivude" <[EMAIL PROTECTED]>
To: <Asterisk-Users@lists.digium.com>
Sent: Tuesday, August 16, 2005 11:40 AM
Subject: [Asterisk-Users] Voicemail file permissions


I'm running RedHat 9 with a TDM400 (2FXO, 2FXS).

I'd like to give my Asterisk users the option of cleaning up their
voicemail mailbox from their Windows PCs.  I set up Samba and added
all the users with restricted access to their mailbox only, but here's
the problem:

The voicemail .wav files that Asterisk creates have root as both owner
and group.  Since the users do not have root privileges, they can't do
much with the files.  BTW I'm not sure why the voicemail .wav files
have root as both owner and group because I followed the instructions
for running Asterisk other than root (see
http://www.voip-info.org/wiki-Asterisk+non-root).

Is there a way around this w/o giving everyone root privileges!

Thanks,
Hugh
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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

Reply via email to