blob: 175e8ed29ec3c6154b1dcb643c96867f5469c983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/watchd.c 2009-02-27 23:46:42.000000000 +0000
+++ b/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..
|