Skip to content

Conversation

@DiegoTavares
Copy link
Collaborator

When a user has to be created with useradd, the user should have the same uid and gid of the user who created the job. This ensures directories and files created during the job execution have the same permissions.

Not explicitly setting uid and gid causes problems for dockerized rqds trying to write to shared storage volumes mounted in bind mode.

  • This PR also contains a minor change to allow overriding the value of SP_OS (Constant used to identify a host distro) using the config file.

When a user has to be created with useradd, the user should have the same uid and gid of the user who created the job. This ensures directories and files created during the execution have the write permissions.

Not explicitly setting uid and gid causes problems for dockerized rqds trying to write to shared storage volumes mounted in bind mode.
minor change to allow overriding the string used to identify the OS distro.
@DiegoTavares DiegoTavares marked this pull request as ready for review August 16, 2024 21:03
Copy link
Collaborator

@ramonfigueiredo ramonfigueiredo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DiegoTavares

Approved! Thanks!

@DiegoTavares DiegoTavares merged commit b21aa6b into AcademySoftwareFoundation:master Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants