[uclibc-ng-devel] mkostemp64 creates files with mode 0700

Ignacy Gawedzki ignacy.gawedzki at green-communications.fr
Thu Jun 8 22:00:10 CEST 2017


On Thu, Jun 08, 2017 at 09:39:55PM +0200, thus spake Waldemar Brodkorb:
> Hi Ignacy,
> Ignacy Gawedzki wrote,
> 
> > Hi,
> > 
> > I just noticed today that mkostemp64 calls __gen_tempname with mode
> > S_IRUSR | S_IWUSR | S_IXUSR, while all other flavors call it with mode
> > S_IRUSR | S_IWUSR, as per POSIX.1-2008.
> > 
> > See libc/stdlib/mkostemp64.c.  I assume I don't need to send a patch
> > for that.
> 
> A patch is always nice to have no misunderstandings and to clarify
> the reporter of the issue in the git log.
> And patchwork will remind me if I miss this issue :=)
> 
> Could you sent a patch?

:(

Will follow shortly.

> P.s.: I whitelisted your new address.

Forget about it, it's actually my old address.  But thanks anyway.

Cheers,

Ignacy

-- 
Ignacy Gawędzki
R&D Engineer
Green Communications


More information about the devel mailing list