byte_xasprintf(&configpathtmp, "%s.new", configpath);
/* Create config file with mode 600 */
if((fd = open(configpathtmp, O_WRONLY|O_CREAT, 0600)) < 0)
byte_xasprintf(&configpathtmp, "%s.new", configpath);
/* Create config file with mode 600 */
if((fd = open(configpathtmp, O_WRONLY|O_CREAT, 0600)) < 0)