mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +03:00
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.
This commit is contained in:
parent
0790f4e45f
commit
c18a102464
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user