summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-12 14:13:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-12 14:13:55 +0000
commitde6ee233646a288be26ffb16af219724db8c138f (patch)
treee5d84cd7463e91ac9c833b34f53a7be1c23d9195 /move/move.pm
parent3d8da84dbd2ffc7e98d85eb5823dadd244fd5c22 (diff)
downloaddrakx-de6ee233646a288be26ffb16af219724db8c138f.tar
drakx-de6ee233646a288be26ffb16af219724db8c138f.tar.gz
drakx-de6ee233646a288be26ffb16af219724db8c138f.tar.bz2
drakx-de6ee233646a288be26ffb16af219724db8c138f.tar.xz
drakx-de6ee233646a288be26ffb16af219724db8c138f.zip
mount the key in /home
Diffstat (limited to 'move/move.pm')
-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;
}