[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode of pidfile
From: |
Ottavio Caruso |
Subject: |
Re: mode of pidfile |
Date: |
Wed, 1 Jul 2020 16:59:45 +0100 |
On Wed, 1 Jul 2020 at 16:45, Kai Peter <kp@lists.openqmail.org> wrote:
>
> Hi,
>
> I'm curious why the option -pidfile creates a file with mode 0600.
It doesn't :
oc@e130:~$ cat opt/bin/boot-openbsd-virtio
#!/bin/sh
qemu-system-x86_64 \
-drive if=virtio,file=/home/oc/VM/img/openbsd.image,index=0,media=disk \
-M q35,accel=kvm -m 250M -cpu host,kvmclock-stable-bit -smp $(nproc) \
-nic user,hostfwd=tcp:127.0.0.1:5556-:22,model=virtio-net-pci \
-daemonize -display none \
-serial mon:telnet:127.0.0.1:6666,server,nowait \
-pidfile /home/oc/VM/pid/openbsd-pid
oc@e130:~$ ls -l /home/oc/VM/pid/
total 4
-rw------- 1 oc oc 5 Jul 1 16:54 openbsd-pid
--
Ottavio Caruso