summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2017-12-21 15:49:11 +0100
committerMarek Szuba <marecki@gentoo.org>2017-12-21 15:52:47 +0100
commit25a4b59e5dd9a690eb3efe97fa0440b8cb75cf64 (patch)
treeb5026dd68791ee055ada2735e905bb77d36c4c78 /app-backup/burp
parentx11-drivers/nvidia-drivers: Update compatible kernel versions (bug #638868 by... (diff)
downloadgentoo-25a4b59e5dd9a690eb3efe97fa0440b8cb75cf64.tar.gz
gentoo-25a4b59e5dd9a690eb3efe97fa0440b8cb75cf64.tar.bz2
gentoo-25a4b59e5dd9a690eb3efe97fa0440b8cb75cf64.zip
app-backup/burp: set more restrictive permissions on /etc/burp
The user burp server runs as shouldn't be allowed to write to the config directory, just read from it. Gentoo-Bug: https://bugs.gentoo.org/641842 Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-backup/burp')
-rw-r--r--app-backup/burp/burp-2.0.54-r4.ebuild (renamed from app-backup/burp/burp-2.0.54-r3.ebuild)2
-rw-r--r--app-backup/burp/burp-2.1.24-r1.ebuild (renamed from app-backup/burp/burp-2.1.24.ebuild)2
2 files changed, 2 insertions, 2 deletions
diff --git a/app-backup/burp/burp-2.0.54-r3.ebuild b/app-backup/burp/burp-2.0.54-r4.ebuild
index 7d916cbb59ce..4484457367ec 100644
--- a/app-backup/burp/burp-2.0.54-r3.ebuild
+++ b/app-backup/burp/burp-2.0.54-r4.ebuild
@@ -68,7 +68,7 @@ src_install() {
emake DESTDIR="${D}" install-configs
fowners -R root:${PN} /etc/burp
- fperms 0775 /etc/burp
+ fperms 0750 /etc/burp
fperms 0640 /etc/burp/burp-server.conf
fperms 0750 /etc/burp/clientconfdir
diff --git a/app-backup/burp/burp-2.1.24.ebuild b/app-backup/burp/burp-2.1.24-r1.ebuild
index 9f69e915ca54..c4b44cdd39c9 100644
--- a/app-backup/burp/burp-2.1.24.ebuild
+++ b/app-backup/burp/burp-2.1.24-r1.ebuild
@@ -66,7 +66,7 @@ src_install() {
emake DESTDIR="${D}" install-configs
fowners -R root:${PN} /etc/burp
- fperms 0775 /etc/burp
+ fperms 0750 /etc/burp
fperms 0640 /etc/burp/burp-server.conf
fperms 0750 /etc/burp/clientconfdir