[horde] Setting of $conf['umask'] = 027 ignored for $conf['log']['type'] = 'file';
Michael M Slusarz
slusarz at horde.org
Thu Jan 30 21:31:37 UTC 2014
Quoting Arjen de Korte <arjen+horde at de-korte.org>:
> In my horde/config/conf.php I have
>
> $conf['umask'] = 027;
>
> and
>
> $conf['log']['type'] = 'file';
> $conf['log']['name'] = '/var/tmp/horde.log';
>
> Yet the log file that is created, has the following permissions:
>
> -rw-r--r-- 1 wwwrun www 142941 Jan 30 21:28 /var/tmp/horde.log
>
> The fact that it is created with world readable permissions confuses
> me. Why is that?
Because Horde's umask configuration option is not an absolute umask -
it is applied on TOP of the default system umask (generally 0022, but
can be different).
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list