From d7ec5f1ec1c8eeee6c84bc3b85543543711655bc Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 28 Mar 2013 12:45:41 +0100 Subject: Correct permission otherwise openbgpd does not start --- config/openbgpd/openbgpd.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc index e5dd8069..45449793 100644 --- a/config/openbgpd/openbgpd.inc +++ b/config/openbgpd/openbgpd.inc @@ -180,7 +180,7 @@ function openbgpd_install_conf() { safe_mkdir($bgpd_config_base); // Write out the configuration file @file_put_contents("{$bgpd_config_base}/bgpd.conf", $conffile); - @chmod("{$bgpd_config_base}/bgpd.conf", 0666); + @chmod("{$bgpd_config_base}/bgpd.conf", 0600); // Create rc.d file $rc_file_stop = <<