summaryrefslogtreecommitdiff
path: root/tests/basic-test.sh
diff options
context:
space:
mode:
authorLuca BRUNO <luca.bruno@coreos.com>2021-08-20 10:58:24 +0000
committerLuca BRUNO <luca.bruno@coreos.com>2021-08-20 16:11:04 +0000
commit8a5241dd6a6bc4d30195c9d461f50248b0230fc5 (patch)
tree797cc3ee699bf9a9c585e6eba497f1a626df63fc /tests/basic-test.sh
parent3209acbdbe9d4e0ea45c1ed711655c9ddb55a8b3 (diff)
downloadostree-8a5241dd6a6bc4d30195c9d461f50248b0230fc5.tar.gz
lib/commit: autofix permissions for bare-user-only
This tweaks commit logic to detect bare-user-only repositories and canonicalize permissions automatically.
Diffstat (limited to 'tests/basic-test.sh')
-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 89d35273..7946ffa3 100644
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -31,7 +31,7 @@ if is_bare_user_only_repo repo; then
# In bare-user-only repos we can only represent files with uid/gid 0, no
# xattrs and canonical permissions, so we need to commit them as such, or
# we end up with repos that don't pass fsck
- COMMIT_ARGS="--canonical-permissions --no-xattrs"
+ COMMIT_ARGS="--no-xattrs"
DIFF_ARGS="--owner-uid=0 --owner-gid=0 --no-xattrs"
# Also, since we can't check out uid=0 files we need to check out in user mode
CHECKOUT_U_ARG="-U"