Fix wrong filemode for rotate log files Upstream-commit: d061ad4a1b3b029e4afa042c1eaf707037562e8c Component: engine