fix(zfs): Having keylocation readble for owner is fine (#1)
This commit is contained in:
parent
fbb19eb710
commit
f4c4504e1d
2
setup.sh
2
setup.sh
@ -109,7 +109,7 @@ function zpool_drive_id () {
|
|||||||
function set_zpool_password () {
|
function set_zpool_password () {
|
||||||
# No newline at the end
|
# No newline at the end
|
||||||
printf -- '%s' 'password' > '/etc/zfs/'"${zpool_name}"'.key'
|
printf -- '%s' 'password' > '/etc/zfs/'"${zpool_name}"'.key'
|
||||||
chmod '000' '/etc/zfs/'"${zpool_name}"'.key'
|
chmod '600' '/etc/zfs/'"${zpool_name}"'.key'
|
||||||
}
|
}
|
||||||
|
|
||||||
function import_pool () {
|
function import_pool () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user