diff --git a/setup.sh b/setup.sh index cf195c4..0d0ba5a 100644 --- a/setup.sh +++ b/setup.sh @@ -109,7 +109,7 @@ function zpool_drive_id () { function set_zpool_password () { # No newline at the end 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 () {