debian-bootc-base-images/tests/rootfs/cases/root-mode
Colin Walters ccb2c22ecb 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>
2025-03-04 17:31:56 -05:00

4 lines
127 B
Bash
Executable file

#!/bin/bash
set -xeuo pipefail
# Verify we didn't lose the executable bit for others on /
test $(($(stat -c '0%a' .) % 2)) = 1