]> git.pond.sub.org Git - empserver/blobdiff - src/lib/gen/log.c
Remove macro S_IRWUG
[empserver] / src / lib / gen / log.c
index cc525b534dca60bc9e914b170b4d9f417c65808c..de06528cd3e9f9580f22fc19098a03e41fcc4639 100644 (file)
@@ -69,7 +69,8 @@ logopen(void)
 {
     int fd;
 
-    fd = open(logfile, O_WRONLY | O_CREAT | O_APPEND, S_IRWUG);
+    fd = open(logfile, O_WRONLY | O_CREAT | O_APPEND,
+             S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
     if (fd < 0)
        logerror("Can't open %s (%s)", logfile, strerror(errno));
     return fd;