File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 296
296
args=" $args --volume $objdir :/checkout/obj"
297
297
args=" $args --volume $HOME /.cargo:/cargo"
298
298
args=" $args --volume /tmp/toolstate:/tmp/toolstate"
299
+
299
300
id=$( id -u)
300
301
if [[ " $id " != 0 && " $( docker version) " =~ Podman ]]; then
301
302
# Rootless podman creates a separate user namespace, where an inner
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ if [ "$NO_CHANGE_USER" = "" ]; then
35
35
export HOME=/home/user
36
36
unset LOCAL_USER_ID
37
37
38
- # Give ownership of necessary directories to the user
39
- change_ownership_if_needed .
40
- mkdir -p /cargo
41
- change_ownership_if_needed /cargo
42
- change_ownership_if_needed /checkout
38
+ # # Give ownership of necessary directories to the user
39
+ # change_ownership_if_needed .
40
+ # mkdir -p /cargo
41
+ # change_ownership_if_needed /cargo
42
+ # change_ownership_if_needed /checkout
43
43
44
44
# Ensure that runners are able to execute git commands in the worktree,
45
45
# overriding the typical git protections. In our docker container we're running
You can’t perform that action at this time.
0 commit comments