summaryrefslogtreecommitdiff
blob: c9e47038612fe3bda5f3653f0b481bb5c0dfe8a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- watchd.c	2009-02-27 23:46:42.000000000 +0000
+++ watchd.c	2009-02-27 23:50:22.000000000 +0000
@@ -671,7 +671,7 @@
    {
     if (folder->flags&FL_LOG_FILE)
     {
-     log=open(curfolder->logfile, O_CREAT | O_WRONLY | O_APPEND );
+     log=open(curfolder->logfile, O_CREAT | O_WRONLY | O_APPEND, S_IRUSR | S_IWUSR );
      if (log>0)
       {
        lseek(fd, SEEK_SET, 0); // Rewind temp log file..