Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
slurm.32313
U_04-Remove-problematic-chmod.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_04-Remove-problematic-chmod.patch of Package slurm.32313
From: Tim Wickberg <tim@schedmd.com> Date: Wed Oct 11 12:45:25 2023 -0600 Subject: [PATCH 4/19]Remove problematic chmod(). Patch-mainline: Upstream Git-repo: https://github.com/SchedMD/slurm Git-commit: ba1df330298ae5cfcb1c46e7a67e7f01e98f3ce1 References: bsc#1216207 Signed-off-by: Egbert Eich <eich@suse.de> Just assume the slurmstepd's umask isn't set to something bizarre, and the 0700 permissions we asked for when creating the directory are in place. Co-authored-by: Alejandro Sanchez <alex@schedmd.com> --- src/plugins/mpi/pmix/pmixp_utils.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/mpi/pmix/pmixp_utils.c b/src/plugins/mpi/pmix/pmixp_utils.c index 93b7cc5cfa..556633c408 100644 --- a/src/plugins/mpi/pmix/pmixp_utils.c +++ b/src/plugins/mpi/pmix/pmixp_utils.c @@ -561,14 +561,6 @@ int pmixp_mkdir(char *path) return errno; } - /* There might be umask that will drop essential rights. - * Fix it explicitly. - * TODO: is there more elegant solution? */ - if (chmod(path, rights) < 0) { - error("%s: chown(%s): %m", __func__, path); - return errno; - } - if (chown(path, (uid_t) pmixp_info_jobuid(), (gid_t) -1) < 0) { error("%s: chown(%s): %m", __func__, path); return errno;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor