From bbad44632306278cf59ae176043be1a6870686aa Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 13 Nov 2003 13:26:16 +0000 Subject: force uid/gid of created user to 501 as it was used when mounting key, addUser may choose 502 when key already holds user data --- move/move.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index 89c0238ef..26ce6a6ce 100644 --- a/move/move.pm +++ b/move/move.pm @@ -204,6 +204,8 @@ sub install2::startMove { any::ask_user_one($o, $o->{users} ||= [], $o->{security}, additional_msg => N("BLA BLA user for move, password for screensaver"), noaccept => 1, needauser => 1, noicons => 1); } + #- force uid/gid to 501 as it was used when mounting key, addUser may choose 502 when key already holds user data + put_in_hash($o->{users}[0], { uid => 501, gid => 501 }); require install_steps; install_steps::addUser($o); -- cgit v1.2.1