Skip to content

Commit

Permalink
Set the correct user for the workspace folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Smjert committed Jul 5, 2024
1 parent 1af0830 commit 70ac1e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/self_hosted_runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,10 @@ jobs:
- name: Setup the build paths
id: build_paths
run: |
ls -ld .
id
# The self hosted runner host user is root, differently from hosted runners,
# so we need to change permissions of the workspace folders to the current user
sudo chown -R 1001:1001 .
rel_build_path="workspace/usr/src/debug/osquery/build"
rel_src_path="workspace/padding-required-by-rpm-packages/src"
rel_ccache_path="workspace/ccache"
Expand Down

0 comments on commit 70ac1e5

Please sign in to comment.