Fix /etc/rc.d/random umask handling (/entropy permissions)
Simon J. Gerraty
sjg at juniper.net
Mon Jan 23 18:52:26 UTC 2017
Jilles Tjoelker <jilles at stack.nl> wrote:
> Index: etc/rc.d/random
> ===================================================================
> --- etc/rc.d/random (revision 311446)
> +++ etc/rc.d/random (working copy)
> @@ -20,12 +20,14 @@
>
> save_dev_random()
> {
> + oumask=`umask`
why not simply use a sub-shell to tighten umask
(umask 077; what-ever)
More information about the freebsd-current
mailing list