diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/watchfolder/files/0.3.3-fortify-sources.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/watchfolder/files/0.3.3-fortify-sources.patch')
-rw-r--r-- | app-admin/watchfolder/files/0.3.3-fortify-sources.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/watchfolder/files/0.3.3-fortify-sources.patch b/app-admin/watchfolder/files/0.3.3-fortify-sources.patch new file mode 100644 index 000000000000..175e8ed29ec3 --- /dev/null +++ b/app-admin/watchfolder/files/0.3.3-fortify-sources.patch @@ -0,0 +1,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.. |