summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--move/move.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index 988def1ae..9b3cfb288 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -143,7 +143,10 @@ sub install2::handleMoveKey {
}
my @parts = fsedit::get_fstab(@keys);
- each_index { $_->{mntpoint} = '/mnt/key' . ($::i || '') } @parts;
+ each_index {
+ $_->{mntpoint} = $::i ? "/mnt/key$::i" : '/home';
+ $_->{options} = 'umask=077,uid=501,gid=501';
+ } @parts;
fs::mount_part($_) foreach @parts;
}