Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only set extra_groups for mkdir() if we were invoked as root
The extra groups of the user are not mapped into the user namespace we create and as such can't be set when invoking a subprocess if we weren't invoked as root.
- Loading branch information