[bug] inn-snapshot-20020621, frontends/rnews.c

Jochen Erwied jochen at erwied.de
Wed Jun 26 21:39:17 UTC 2002


Permissions for the wrong file try to be changed when server is offline.
Fix appended.

--- frontends/rnews.c.orig	Wed Jun 26 23:37:31 2002
+++ frontends/rnews.c	Wed Jun 26 23:37:40 2002
@@ -714,5 +714,5 @@
         exit(1);
     }
-    if (fchmod(fd, BATCHFILE_MODE) < 0) {
+    if (fchmod(spfd, BATCHFILE_MODE) < 0) {
         syslog(L_FATAL, "cant chmod temporary batch file %s %m", tmpspool);
         exit(1);

-- 
Jochen Erwied     | home: jochen at erwied.de     +49-208-38800-18, FAX: -19
Sauerbruchstr. 17 | work: joe at mbs-software.de  +49-2151-7294-24, FAX: -50
D-45470 Muelheim  | First sightings... <1672 at laura.UUCP> 1989/10/11 18:06


More information about the inn-bugs mailing list