From de6ee233646a288be26ffb16af219724db8c138f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Nov 2003 14:13:55 +0000 Subject: mount the key in /home --- move/move.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.1