summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Foti <foti.giuseppe@gmail.com>2023-10-14 16:08:45 +0200
committerFlorian Schmaus <flow@gentoo.org>2023-10-14 17:05:14 +0200
commit488eaf40a3dbfce5db3507238cc87de7026e90ff (patch)
treed7b34f5b2f2db2ae8a01c44c8c89e91073fa0999 /net-analyzer/greenbone-feed-sync
parentprofiles/base: extend dev-python/PyQt6[bluetooth] mask to 6.5.3 (diff)
downloadgentoo-488eaf40a3dbfce5db3507238cc87de7026e90ff.tar.gz
gentoo-488eaf40a3dbfce5db3507238cc87de7026e90ff.tar.bz2
gentoo-488eaf40a3dbfce5db3507238cc87de7026e90ff.zip
net-analyzer/greenbone-feed-sync: fix /etc/sudoers.d/greenbone-feed-sync permissions
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33329 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/greenbone-feed-sync')
-rw-r--r--net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild (renamed from net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild
index 91fee4225921..342dedc3b7ce 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild
@@ -38,6 +38,8 @@ python_install() {
newins - greenbone-feed-sync <<-EOF
gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
EOF
+ fperms 0750 /etc/sudoers.d
+ fperms 0440 /etc/sudoers.d/greenbone-feed-sync
if use cron; then
exeinto /etc/cron.daily