Skip to content

Commit 0fda9f9

Browse files
committed
luci_swarm: change ownership of working directory
When running with a scratch partition at /home/swarming/.swarming, the directory is owned by root after mounting.
1 parent 4130d01 commit 0fda9f9

File tree

1 file changed

+1
-0
lines changed
  • service/luci_swarm

1 file changed

+1
-0
lines changed

service/luci_swarm/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
[ -n ${builder_name} ] || exit 1
66

7+
chown -R swarming /home/swarming/.swarming
78
setuidgid swarming env HOME=/home/swarming /usr/local/bin/bootstrapswarm -hostname ${builder_name}

0 commit comments

Comments
 (0)