diff --git a/stages/org.osbuild.rpm b/stages/org.osbuild.rpm index 188091a0..eb1c8083 100755 --- a/stages/org.osbuild.rpm +++ b/stages/org.osbuild.rpm @@ -378,7 +378,7 @@ def main(tree, inputs, options): print("deleting the fake machine id") machine_id_file = pathlib.Path(f"{tree}/etc/machine-id") machine_id_file.unlink() - machine_id_file.touch() + machine_id_file.touch(mode=0o444) if ostree_booted: os.unlink(ostree_booted)