mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Logrotate requires 0644 or 0444 permissions
https://github.com/webmin/webmin/issues/2396
This commit is contained in:
@@ -344,7 +344,7 @@ foreach $c (@$conf) {
|
||||
}
|
||||
print TEMP map { "$_\n" } &directive_lines($_[0]);
|
||||
close(TEMP);
|
||||
&set_ownership_permissions(undef, undef, 0700, $temp);
|
||||
&set_ownership_permissions(undef, undef, 0644, $temp);
|
||||
local $out = &backquote_logged("$config{'logrotate'} -f $temp 2>&1");
|
||||
return ($?, $out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user