diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-11-27 10:17:36 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-11-27 16:13:27 +0100 |
commit | c18a1024643809c8f28799900af4e6202623f934 (patch) | |
tree | fbb29d3036162bcd3f3577aed651232da0cbd324 /test | |
parent | nspawn: don't try to unregister a machine we never registered (diff) | |
download | systemd-c18a1024643809c8f28799900af4e6202623f934.tar.xz systemd-c18a1024643809c8f28799900af4e6202623f934.zip |
tests: fix access mode of root inode of throw-away container images
Otherwise the root inode will typically have what mkdtemp sets up, which
is something like 0700, which is weird and somewhat broken when trying
to look into containers from unpriv users.
Diffstat (limited to 'test')
-rwxr-xr-x | test/units/util.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/units/util.sh b/test/units/util.sh index 51e0ad1ec0..7a39d4267e 100755 --- a/test/units/util.sh +++ b/test/units/util.sh @@ -182,6 +182,7 @@ create_dummy_container() { fi mkdir -p "$root" + chmod 555 "$root" cp -a /usr/share/TEST-13-NSPAWN-container-template/* "$root" coverage_create_nspawn_dropin "$root" } |