You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/watchfolder/files/0.3.3-fortify-sources.patch

12 lines
338 B

--- a/watchd.c
+++ b/watchd.c
@@ -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..