[Asterisk-Dev] Enabling consistent file permissions ?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Oct 4 10:17:02 MST 2005


On Tue, Oct 04, 2005 at 11:36:23AM -0500, Kevin P. Fleming wrote:
> Dave Hawkes wrote:
> 
> >I'd be prepared to submit some changes along these lines if they were 
> >likely to be accepted. Any thoughts?
> 
> Personally, I wish Asterisk _never_ explicitly set file permissions at 
> all, and just let the admin do what they wanted using umask.

One example:

grep for 0600 in app_voicemail.c . This is when the voicemail generates
a new file.

> 
> AGI is not an issue, since it runs in a separate process.
> 
> If you want to put together a patch to remove _all_ file permission 
> management from Asterisk and do the testing, I'll be glad to review it, 
> but it won't be able to go into 1.2, since it's too significant a change 
> this late in the cycle.

And require a proper umask being set?

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list