Skip to content

Commit

Permalink
Fix isolock permissions in CI
Browse files Browse the repository at this point in the history
This changes the permissions of isolock to match isolate, because the
GitHub Actions runner user does not appear to be in their own group.
  • Loading branch information
Holmes98 committed Dec 30, 2023
1 parent 3840596 commit ca9d8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/install/isolock.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else
git clone https://github.com/NZOI/isolock.git && cd isolock || exit 1
fi

make && chown root bin/isolock && chgrp $APP_USER bin/isolock && chmod 6750 bin/isolock || {
make && chown root:root bin/isolock && chmod 4755 bin/isolock || {
echo "Failure to setup isolock permissions - aborting"
cd ..
rm -r $srclocation/isolock
Expand Down

0 comments on commit ca9d8c3

Please sign in to comment.