diff options
-rwxr-xr-x | test/ci-build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ci-build.sh b/test/ci-build.sh index c41de7a..73893a6 100755 --- a/test/ci-build.sh +++ b/test/ci-build.sh @@ -57,6 +57,10 @@ for CC in gcc gcc-9 gcc-10 clang; do # libfuse will first try the install path and then system defaults sudo chmod 4755 ${PREFIX_DIR}/bin/fusermount3 + # also needed for some of the tests + sudo chown root:root util/fusermount3 + sudo chmod 4755 util/fusermount3 + ${TEST_CMD} popd rm -fr build-${CC} @@ -83,6 +87,10 @@ sanitized_build() sudo ninja install sudo chmod 4755 ${PREFIX_DIR}/bin/fusermount3 + # also needed for some of the tests + sudo chown root:root util/fusermount3 + sudo chmod 4755 util/fusermount3 + # Test as root and regular user sudo ${TEST_CMD} # Cleanup temporary files (since they are now owned by root) |