BUG 11318: Fix deletion of temporary files from IPTables-GUI
Message ID | 20170416210133.15174-1-matthias.fischer@ipfire.org |
---|---|
State | Accepted |
Commit | 77cdccf4c0a2b1c0a2b8d6e4aab86fbcbd5439b9 |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 378FA61F96 for <patchwork@ipfire.org>; Sun, 16 Apr 2017 23:01:43 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 42E5E1B62; Sun, 16 Apr 2017 23:01:41 +0200 (CEST) Received: from Devel.localdomain (p5DD83151.dip0.t-ipconnect.de [93.216.49.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 073FC1640 for <development@lists.ipfire.org>; Sun, 16 Apr 2017 23:01:37 +0200 (CEST) From: Matthias Fischer <matthias.fischer@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] BUG 11318: Fix deletion of temporary files from IPTables-GUI Date: Sun, 16 Apr 2017 23:01:33 +0200 Message-Id: <20170416210133.15174-1-matthias.fischer@ipfire.org> X-Mailer: git-send-email 2.11.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Matthias Fischer
April 17, 2017, 7:01 a.m. UTC
For details see:
https://bugzilla.ipfire.org/show_bug.cgi?id=11318
Temporary files for 'iptables', 'iptablesmangle' and 'iptablesnat' created by
'iptables.cgi' were not deleted after use but stayed in '/srv/weg/ipfire/html/'.
As a workaround I changed 'getipstat.c' to create these files in '/var/tmp' and the
"open (file..." and "rm" commands in 'iptables.cgi'.
Works here.
Best,
Matthias
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
html/cgi-bin/iptables.cgi | 12 ++++++------
src/misc-progs/getipstat.c | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)