tests/basic: avoid changing ownership
authorLuca BRUNO <luca.bruno@coreos.com>
Mon, 30 Aug 2021 14:11:43 +0000 (14:11 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Mon, 6 Sep 2021 07:41:02 +0000 (07:41 +0000)
This avoids possible issues when trying to chmod, tweaking
permissions instead.

tests/basic-test.sh

index b694f3703d249fdc3595538ddd2dbc3dcacf5ce7..29ca610917b3ec2e0f0c557e463595dce861a2b8 100644 (file)
@@ -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