1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00
Files
fedora-coreos-config/tests/kola/files/root-immutable-bit

13 lines
196 B
Bash
Executable File

#!/bin/bash
## kola:
## exclusive: false
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh
if ! lsattr -d / | grep -qe '--i--'; then
fatal "missing immutable bit on /"
fi
ok immutable bit