summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca BRUNO <luca.bruno@coreos.com>2021-08-30 14:11:43 +0000
committerLuca BRUNO <luca.bruno@coreos.com>2021-09-06 07:41:02 +0000
commitaa0bb176c5847b3bc7096904c6b0e978d119c2fa (patch)
tree9f8f37015ba510349e783ea6a06f18eaa288232b
parent9f5b636990d9a1fb0fc43cedcd96412c515fb679 (diff)
downloadostree-aa0bb176c5847b3bc7096904c6b0e978d119c2fa.tar.gz
tests/basic: avoid changing ownership
This avoids possible issues when trying to chmod, tweaking permissions instead.
-rw-r--r--tests/basic-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic-test.sh b/tests/basic-test.sh
index b694f370..29ca6109 100644
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -435,7 +435,7 @@ echo "ok user checkout"
$OSTREE commit ${COMMIT_ARGS} -b test2 -s "Another commit" --tree=ref=test2
echo "ok commit from ref"
-$OSTREE commit ${COMMIT_ARGS} -b test2 -s "Another commit with modifier" --tree=ref=test2 --owner-uid=0
+$OSTREE commit ${COMMIT_ARGS} -b test2 -s "Another commit with modifier" --tree=ref=test2 --mode-ro-executables
echo "ok commit from ref with modifier"
$OSTREE commit ${COMMIT_ARGS} -b trees/test2 -s 'ref with / in it' --tree=ref=test2