commit yast2-users for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-users for openSUSE:Factory checked in at Wed Mar 31 20:04:06 CEST 2010. -------- --- yast2-users/yast2-users.changes 2010-03-18 09:20:25.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2010-03-30 16:12:41.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Mar 30 16:10:13 CEST 2010 - jsuchome@suse.cz + +- change home directory onwer in case of GID change (bnc#592229) +- 2.19.9 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-users-2.19.8.tar.bz2 New: ---- yast2-users-2.19.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.CPGug5/_old 2010-03-31 20:03:48.000000000 +0200 +++ /var/tmp/diff_new_pack.CPGug5/_new 2010-03-31 20:03:48.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-users (Version 2.19.8) +# spec file for package yast2-users (Version 2.19.9) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,11 +19,11 @@ Name: yast2-users -Version: 2.19.8 +Version: 2.19.9 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-users-2.19.8.tar.bz2 +Source0: yast2-users-2.19.9.tar.bz2 Prefix: /usr @@ -50,7 +50,7 @@ This package provides GUI for maintenance of linux users and groups. %prep -%setup -n yast2-users-2.19.8 +%setup -n yast2-users-2.19.9 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-users-2.19.8.tar.bz2 -> yast2-users-2.19.9.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.19.8/VERSION new/yast2-users-2.19.9/VERSION --- old/yast2-users-2.19.8/VERSION 2010-03-18 09:19:41.000000000 +0100 +++ new/yast2-users-2.19.9/VERSION 2010-03-30 16:11:52.000000000 +0200 @@ -1 +1 @@ -2.19.8 +2.19.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.19.8/src/Users.pm new/yast2-users-2.19.9/src/Users.pm --- old/yast2-users-2.19.8/src/Users.pm 2010-03-18 09:10:08.000000000 +0100 +++ new/yast2-users-2.19.9/src/Users.pm 2010-03-30 16:12:00.000000000 +0200 @@ -4,7 +4,7 @@ # Package: Configuration of users and groups # Summary: I/O routines + main data structures # -# $Id: Users.pm 61178 2010-03-08 10:55:56Z jsuchome $ +# $Id: Users.pm 61537 2010-03-30 14:11:59Z jsuchome $ # package Users; @@ -3861,6 +3861,7 @@ $user_in_work{"what"} = "group_change"; if ($gid != $org_gid) { $user_in_work{"what"} = "group_change_default"; + $user_in_work{"org_gidNumber"} = $org_gid unless $user_in_work{"org_gidNumber"}; } $self->CommitUser (); } @@ -4534,9 +4535,18 @@ } if ($user_mod eq "edited" && $home ne "/var/lib/nobody") { my $org_home = $user{"org_user"}{"homeDirectory"} || $home; - my $org_uid = $user{"org_user"}{"uidNumber"} || $uid; + my $org_uid = $uid; + $org_uid = $user{"org_user"}{"uidNumber"} if (defined $user{"org_user"}{"uidNumber"}); + my $org_gid = $gid; + if (defined $user{"org_user"}{"gidNumber"}) { + $org_gid = $user{"org_user"}{"gidNumber"}; + } + # this would be actually caused by group modification + elsif (defined $user{"org_gidNumber"}) { + $org_gid = $user{"org_gidNumber"}; + } # chown only when directory was changed (#39417) - if ($home ne $org_home || $uid ne $org_uid) { + if ($home ne $org_home || $uid ne $org_uid || $gid ne $org_gid) { # move the home directory if (bool ($create_home)) { UsersRoutines->MoveHome ($org_home, $home); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.19.8/src/inst_root_first.ycp new/yast2-users-2.19.9/src/inst_root_first.ycp --- old/yast2-users-2.19.8/src/inst_root_first.ycp 2010-03-18 09:18:58.000000000 +0100 +++ new/yast2-users-2.19.9/src/inst_root_first.ycp 2010-03-18 09:20:31.000000000 +0100 @@ -5,7 +5,7 @@ * Dialog for setting root's password during 1st stage of the installation * Authors: Jiri Suchomel <jsuchome@suse.cz> * - * $Id: inst_root_first.ycp 61042 2010-02-26 13:48:03Z jsuchome $ + * $Id: inst_root_first.ycp 61365 2010-03-18 08:19:52Z jsuchome $ */ { textdomain "users"; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de