diff --git a/tests/usertools/usermod/50_usermod_change_uid+move_homedir/data/home_ls-a b/tests/usertools/usermod/50_usermod_change_uid+move_homedir/data/home_ls-a index 89bbbd9a..161c30fc 100644 --- a/tests/usertools/usermod/50_usermod_change_uid+move_homedir/data/home_ls-a +++ b/tests/usertools/usermod/50_usermod_change_uid+move_homedir/data/home_ls-a @@ -1,3 +1,5 @@ -rw-r--r-- foo:foo `/home/foo2/toto' +-rw-r--r-- foo:root `/home/foo2/groot' +-rw-r--r-- root:foo `/home/foo2/uroot' drwxr-xr-x foo:foo `/home/foo2/.' drwxr-xr-x root:root `/home/foo2/..' diff --git a/tests/usertools/usermod/50_usermod_change_uid+move_homedir/usermod.test b/tests/usertools/usermod/50_usermod_change_uid+move_homedir/usermod.test index addb3904..6ac347c7 100755 --- a/tests/usertools/usermod/50_usermod_change_uid+move_homedir/usermod.test +++ b/tests/usertools/usermod/50_usermod_change_uid+move_homedir/usermod.test @@ -18,7 +18,11 @@ change_config mkdir /home/foo echo toto > /home/foo/toto +echo root > /home/foo/uroot +echo root > /home/foo/groot chown -R foo:foo /home/foo +chown root /home/foo/uroot +chgrp root /home/foo/groot echo -n "Change the user's home directory (usermod -m -d /home/foo2 -u 1001 foo)..." usermod -m -d /home/foo2 -u 1001 foo