diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-10-17 04:14:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-10-17 04:14:19 +0000 |
commit | 150d1cd59e43bfb52f437dfd12ae622a456f7e83 (patch) | |
tree | f9e5a6992d205d7891de1cf692b97d0b43cc7e0a /packages | |
parent | 1de3d8df7e363ba0d2ade21772253c7bc46d21e5 (diff) | |
download | pfsense-packages-150d1cd59e43bfb52f437dfd12ae622a456f7e83.tar.gz pfsense-packages-150d1cd59e43bfb52f437dfd12ae622a456f7e83.tar.bz2 pfsense-packages-150d1cd59e43bfb52f437dfd12ae622a456f7e83.zip |
Ensure file is only user readable
Diffstat (limited to 'packages')
-rw-r--r-- | packages/openbgpd/openbgpd.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/openbgpd/openbgpd.inc b/packages/openbgpd/openbgpd.inc index cb85fbe6..5a6a448b 100644 --- a/packages/openbgpd/openbgpd.inc +++ b/packages/openbgpd/openbgpd.inc @@ -123,6 +123,8 @@ function openbgpd_install_conf() { fwrite($fd, "bgpd\n"); 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"); // bgpd process running? if so reload, elsewise start. if(is_openbgpd_running() == true) { |