On Tue, Aug 07, 2007 at 09:39:51AM +0100, Eric Dantie wrote:
> By default directory creation shouldn't be in mode 0755 instead of 0777?
>
> For example in app_monitor.c (trunk version), line 375 ast_mkdir(tmp, 0777);
> should be, I think, ast_mkdir(tmp, 0755);
>
> Each time ast_mkdir is called with 0777 mode.
0777 is before the umask had its say. See mkdir(2) and umask(2) .
--
Tzafrir Cohen
icq#16849755 jabber:[EMAIL PROTECTED]
+972-50-7952406 mailto:[EMAIL PROTECTED]
http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev