activation scripts: proper file permissions

This commit is contained in:
2025-03-21 18:16:40 -04:00
parent 66aa77800f
commit 9df61a823a
2 changed files with 4 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ in
#!/bin/sh
rm -fr ${zfs-key} || true
cp ${./secrets/zfs-key} ${zfs-key}
chmod 0500 ${zfs-key}
chown root:wheel ${zfs-key}
'';
};