Create files with 0644, not 0600

Allows other user without write access to read logfiles.

Signed-off-by: Joern Engel <joern@logfs.org>
diff --git a/cancd.c b/cancd.c
index 4aff4fa..cfcfec1 100644
--- a/cancd.c
+++ b/cancd.c
@@ -392,7 +392,7 @@
 		char buf[4096];
 		ssize_t count;
 
-		fd = open(name, O_WRONLY | O_APPEND | O_CREAT, 0600);
+		fd = open(name, O_WRONLY | O_APPEND | O_CREAT, 0644);
 		if (fd < 0) {
 			syslog(LOG_ERR, "Unable to open \"%s\": %s", name,
 					strerror(errno));
@@ -431,7 +431,7 @@
 	if (!name)
 		return;
 
-	fd = open(name, O_WRONLY | O_APPEND | O_CREAT, 0600);
+	fd = open(name, O_WRONLY | O_APPEND | O_CREAT, 0644);
 	if (fd < 0)
 		syslog(LOG_ERR, "Unable to open \"%s\": %s", name, strerror(errno));
 	else {