I have a virtual machine with this config to redirect serial console log to another file:
<devices>
...
<console type="pty">
<target type="sclp"/>
<log file="/home/nptusk/serial-console.log" append="on"/>
</console>
</devices>
For automation reasons I want the log to have the permission other than root:root. What can I do to achieve this without using chown afterwards, in other words the log file when generated already has my desired user and group.