commit:     0aea4dac7e2b6099fbe6d299ef0299e04c6832a6
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 08:05:51 2022 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 08:05:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aea4dac

sys-cluster/slurm: Should fix possible privilege escalation

Bug: https://bugs.gentoo.org/631552
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sys-cluster/slurm/slurm-22.05.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/slurm/slurm-22.05.3.ebuild 
b/sys-cluster/slurm/slurm-22.05.3.ebuild
index 607d3dc407bb..0b5e602258f3 100644
--- a/sys-cluster/slurm/slurm-22.05.3.ebuild
+++ b/sys-cluster/slurm/slurm-22.05.3.ebuild
@@ -243,7 +243,7 @@ pkg_preinst() {
 create_folders_and_fix_permissions() {
        einfo "Fixing permissions in ${@}"
        mkdir -p ${@} || die
-       chown -R ${PN}:${PN} ${@} || die
+       chown ${PN}:${PN} ${@} || die
 }
 
 pkg_postinst() {

Reply via email to