imagectl: Update mode for / if needed
This works around https://github.com/coreos/rpm-ostree/pull/5322 so we can ship the fix faster. Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
6a04cddf98
commit
ccb2c22ecb
2 changed files with 10 additions and 0 deletions
4
tests/rootfs/cases/root-mode
Executable file
4
tests/rootfs/cases/root-mode
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -xeuo pipefail
|
||||
# Verify we didn't lose the executable bit for others on /
|
||||
test $(($(stat -c '0%a' .) % 2)) = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue