qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

physmem: Is 0644 OK for new created file?


From: Peng Liang
Subject: physmem: Is 0644 OK for new created file?
Date: Mon, 23 Nov 2020 19:41:54 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2

Hi,

Recently, I tried to use ivshmem-plain devices to share some information
between guests.  I found that if the file of the shmem doesn't exist,
then QEMU will create one and the mode of it is 0644.  Maybe it is risky
because everyone can read the content of the file?  Do we need to change
it to 0640 or 0600?

Thanks,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]