open O_WRONLY|O_CREAT|O_TRUNC, 0666