Change mode of nocem files to 0644.

This commit is contained in:
Retro_Guy 2023-10-30 07:05:25 -07:00
parent 0915e8a7fe
commit a99403c34c
1 changed files with 1 additions and 0 deletions

View File

@ -401,6 +401,7 @@ function get_articles($ns, $group)
$is_from = address_decode($from[1], 'nowhere');
$nocem_file = tempnam($spooldir . "/nocem", $is_from[0]['mailbox'] . "@" . $is_from[0]['host'] . "[".date("Y.m.d.H.i.s")."]");
copy($grouppath . "/" . $local, $nocem_file);
chmod($nocem_file, 0644);
}
}
if ((strpos($rslight_gpg['nntp_group'], $group) !== false) && ($rslight_gpg['enable'] == '1')) {