On Sun, May 30, 2021 at 08:01:21PM +0100, Peter Maydell wrote:
> On Wed, 26 May 2021 at 10:14, Stefan Hajnoczi wrote:
> >
> > The Linux man page for mkstemp(3) states:
> >
> > In glibc versions 2.06 and earlier, the file is created with
> > permissions 0666, that is, read and write for all
On Wed, 26 May 2021 at 10:14, Stefan Hajnoczi wrote:
>
> The Linux man page for mkstemp(3) states:
>
> In glibc versions 2.06 and earlier, the file is created with
> permissions 0666, that is, read and write for all users. This old
> behavior may be a security risk, especially since other
The Linux man page for mkstemp(3) states:
In glibc versions 2.06 and earlier, the file is created with
permissions 0666, that is, read and write for all users. This old
behavior may be a security risk, especially since other UNIX flavors
use 0600, and somebody might overlook this detail