Index: katoob-0.5.9.1/src/utils.cc =================================================================== --- katoob-0.5.9.1.orig/src/utils.cc +++ katoob-0.5.9.1/src/utils.cc @@ -270,7 +270,7 @@ return false; } - ofd = open(f2, O_WRONLY|O_CREAT|O_TRUNC); + ofd = open(f2, O_WRONLY|O_CREAT|O_TRUNC, 0644); if (ofd == -1) { error = std::strerror(errno); close(ifd);