now this is a good question (lke you care what i think
)
traditionally standard utils like touch when they create files create them 0666
here is some code from an ancient unix V7 version of touch
Code:
if( (fd = creat(name, 0666)) < 0)
goto bad;
close(fd);
from modern Linux coreutils-5.2.1
Code:
if (! no_create)
{
/* Try to open FILE, creating it if necessary. */
fd = open (file, O_WRONLY | O_CREAT | O_NONBLOCK | O_NOCTTY,
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
S_IRUSR = 00400
S_IWUSER = 00200
and you can extrapolate the rest
so it's still the same 00666 as it's always been