From 5928f4e0f28510fac2cb15daeac3845188e994c4 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 17 Oct 2007 04:14:39 +0000 Subject: Ensure file is only user readable --- packages/openbgpd/openbgpd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/openbgpd') diff --git a/packages/openbgpd/openbgpd.inc b/packages/openbgpd/openbgpd.inc index 5a6a448b..6404e81e 100644 --- a/packages/openbgpd/openbgpd.inc +++ b/packages/openbgpd/openbgpd.inc @@ -124,7 +124,7 @@ function openbgpd_install_conf() { fclose($fd); exec("chmod a+rx /usr/local/etc/rc.d/bgpd.sh"); exec("chmod a-rw /usr/local/etc/bgpd.conf"); - exec("chmod a+rw /usr/local/etc/bgpd.conf"); + exec("chmod u+rw /usr/local/etc/bgpd.conf"); // bgpd process running? if so reload, elsewise start. if(is_openbgpd_running() == true) { -- cgit v1.2.3