Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use UID not username to set HOME dir (#10010)
When a task's uid was is nonzero but username was still "root", we would accidentally set the HOME directory to /root. This happens because we started the container based on the UID, then we looked up the username (uid->username lookup) and we found that we were called "root", then we did a username->HOME lookup to arrive at /root.
- Loading branch information