aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-10-17 04:14:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-10-17 04:14:39 +0000
commit5928f4e0f28510fac2cb15daeac3845188e994c4 (patch)
treedb727431bd58c0497ac5c7160c7a8c516b9a13d9 /packages
parent150d1cd59e43bfb52f437dfd12ae622a456f7e83 (diff)
downloadpfsense-packages-5928f4e0f28510fac2cb15daeac3845188e994c4.tar.gz
pfsense-packages-5928f4e0f28510fac2cb15daeac3845188e994c4.tar.bz2
pfsense-packages-5928f4e0f28510fac2cb15daeac3845188e994c4.zip
Ensure file is only user readable
Diffstat (limited to 'packages')
-rw-r--r--packages/openbgpd/openbgpd.inc2
1 files changed, 1 insertions, 1 deletions
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) {