summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2022-09-15 11:05:51 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2022-09-15 11:05:51 +0300
commit0aea4dac7e2b6099fbe6d299ef0299e04c6832a6 (patch)
treefd3599abf2a9f67711c891b7e214dac4928f6065 /sys-cluster/slurm
parentsys-cluster/slurm: Update to new version (diff)
downloadgentoo-0aea4dac7e2b6099fbe6d299ef0299e04c6832a6.tar.gz
gentoo-0aea4dac7e2b6099fbe6d299ef0299e04c6832a6.tar.bz2
gentoo-0aea4dac7e2b6099fbe6d299ef0299e04c6832a6.zip
sys-cluster/slurm: Should fix possible privilege escalation
Bug: https://bugs.gentoo.org/631552 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'sys-cluster/slurm')
-rw-r--r--sys-cluster/slurm/slurm-22.05.3.ebuild2
1 files changed, 1 insertions, 1 deletions
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() {