Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/slurm/
Date: Thu, 15 Sep 2022 08:06:37
Message-Id: 1663229151.0aea4dac7e2b6099fbe6d299ef0299e04c6832a6.alexxy@gentoo
1 commit: 0aea4dac7e2b6099fbe6d299ef0299e04c6832a6
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 15 08:05:51 2022 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 15 08:05:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aea4dac
7
8 sys-cluster/slurm: Should fix possible privilege escalation
9
10 Bug: https://bugs.gentoo.org/631552
11 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
12
13 sys-cluster/slurm/slurm-22.05.3.ebuild | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/sys-cluster/slurm/slurm-22.05.3.ebuild b/sys-cluster/slurm/slurm-22.05.3.ebuild
17 index 607d3dc407bb..0b5e602258f3 100644
18 --- a/sys-cluster/slurm/slurm-22.05.3.ebuild
19 +++ b/sys-cluster/slurm/slurm-22.05.3.ebuild
20 @@ -243,7 +243,7 @@ pkg_preinst() {
21 create_folders_and_fix_permissions() {
22 einfo "Fixing permissions in ${@}"
23 mkdir -p ${@} || die
24 - chown -R ${PN}:${PN} ${@} || die
25 + chown ${PN}:${PN} ${@} || die
26 }
27
28 pkg_postinst() {