diff --git a/etc/rc.d/accounting b/etc/rc.d/accounting index 7ebc11f508e1..502ffe65b8b3 100755 --- a/etc/rc.d/accounting +++ b/etc/rc.d/accounting @@ -58,6 +58,7 @@ accounting_rotate_log() if checkyesno accounting_enable; then _file=`mktemp newacct-XXXXX` + chmod 644 $_file ${accounting_command} ${_dir}/${_file} fi