Refactor gitaly-init-cgroup's permission exec cmd
What does this MR do?
The original implementation of the tool relied on os.exec
to spawn a new process, which necessitated the creation of a shell. However, by refactoring to utilize os.chown
, the need for a shell is eliminated, allowing the tool to be built using a scratch image.
Related issues
Edited by Emily Chui