summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Foti <foti.giuseppe@gmail.com>2023-10-14 16:19:50 +0200
committerFlorian Schmaus <flow@gentoo.org>2023-10-14 17:05:14 +0200
commit03b94843079289f9cd7536ff925b39ead3353def (patch)
tree9826d26d056fa0910c32f67b884fcdc76900dff0 /net-analyzer/ospd-openvas
parentnet-analyzer/greenbone-feed-sync: fix /etc/sudoers.d/greenbone-feed-sync perm... (diff)
downloadgentoo-03b94843079289f9cd7536ff925b39ead3353def.tar.gz
gentoo-03b94843079289f9cd7536ff925b39ead3353def.tar.bz2
gentoo-03b94843079289f9cd7536ff925b39ead3353def.zip
net-analyzer/ospd-openvas: fix /etc/sudoers.d/openvas permissions
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33330 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/ospd-openvas')
-rw-r--r--net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild (renamed from net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild
index 799d7633ff7d..5266d19a5344 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild
@@ -78,4 +78,6 @@ python_install() {
newins - openvas <<-EOF
gvm ALL = NOPASSWD: /usr/bin/openvas
EOF
+ fperms 0750 /etc/sudoers.d
+ fperms 0440 /etc/sudoers.d/openvas
}