[Asterisk-Users] Voicemail2
Uriel Carrasquilla
uriel at adelphia.net
Tue May 13 20:33:49 MST 2003
Any chances of getting the patch for the original voicemail.
Uriel
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Tilghman
Lesher
Sent: Monday, May 12, 2003 2:47 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Voicemail2
On Sunday 11 May 2003 14:17, The Traveller wrote:
> > > - It would be really helpful to be able to configure the
> > > permissions (mode and maybe user / group as well) of
> > > anything created in the voicemail spool-directory, if
> > > possible on a per-mailbox basis. In the current
> > > situation, you almost don't get around running "vmail.cgi"
> > > as root, patching "app_voicemail.c" to change the
> > > permissions or running a cron-job to chmod / chown the
> > > files regularly. I think many people here would love to
> > > see such an option, as I've seen the permission- problem
> > > mentioned here frequently.
> >
> > I think it can be done with setuid and setgid directories.
>
> I tried this. The problem is that all files are created with
> mode "600" and this trick of using "s"-bits on directories
> only works for the group of the created files, not for the
> owner, so they still can't be read or modified by anyone but
> the user running Asterisk, which is almost always root. The
> files and directories would need to be created with R/W for
> the group to make this trick work.
I had a patch available for the original voicemail to set this
up. I should have another patch for voicemail2 to do this, as
I'll need it myself before I make the switch (users on one of my
systems can check their voicemail via Samba).
-Tilghman
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list