Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
slurm.32296
U_16-Use-lchown.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_16-Use-lchown.patch of Package slurm.32296
From: Tim Wickberg <tim@schedmd.com> Date: Wed Oct 11 12:45:25 2023 -0600 Subject: [PATCH 16/19]Use lchown(). Patch-mainline: Upstream Git-repo: https://github.com/SchedMD/slurm Git-commit: e973747d897f39e42f63110c1cc837f64b5d5460 References: bsc#1216207 Signed-off-by: Egbert Eich <eich@suse.de> --- src/plugins/job_container/tmpfs/job_container_tmpfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/job_container/tmpfs/job_container_tmpfs.c b/src/plugins/job_container/tmpfs/job_container_tmpfs.c index 1e6d8c2366..b6a053b900 100644 --- a/src/plugins/job_container/tmpfs/job_container_tmpfs.c +++ b/src/plugins/job_container/tmpfs/job_container_tmpfs.c @@ -709,9 +709,9 @@ extern int container_p_join(uint32_t job_id, uid_t uid) return SLURM_ERROR; } - rc = chown(src_bind, uid, -1); + rc = lchown(src_bind, uid, -1); if (rc) { - error("%s: chown failed for %s: %s", + error("%s: lchown failed for %s: %s", __func__, src_bind, strerror(errno)); return SLURM_ERROR; }
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