Subject: | WriteConfig method ignores umask |
Files created when using the WriteConfig method fail to be created
with proper permissions in regard to umask.
The umask specified in /etc/login.defs is 022, which should result
in new files with permissions of 644. Instead, new files have
a permissions 600.
(This is Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691358 where is also mentioned that this default behaviour of tempfile is discussed in https://rt.cpan.org/Public/Bug/Display.html?id=82516)