From 138e8a032025727c2ac0e921f857a3d761030ad6 Mon Sep 17 00:00:00 2001 From: Karl Trygve Kalleberg Date: Wed, 4 Sep 2002 21:21:46 +0000 Subject: Fixes #7464. --- app-admin/superadduser/ChangeLog | 6 ++++-- app-admin/superadduser/files/1.0/superadduser | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'app-admin/superadduser') diff --git a/app-admin/superadduser/ChangeLog b/app-admin/superadduser/ChangeLog index 723fce90996f..bb3700cfe010 100644 --- a/app-admin/superadduser/ChangeLog +++ b/app-admin/superadduser/ChangeLog @@ -1,11 +1,13 @@ # ChangeLog for app-admin/superadduser # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-admin/superadduser/ChangeLog,v 1.5 2002/08/18 00:17:50 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/superadduser/ChangeLog,v 1.6 2002/09/04 21:21:46 karltk Exp $ *superadduser-1.0-r2 (18 Aug 2002) - 18 Aug 2002; Karl Trygve Kalleberg superadduser-1.0-r2.ebuild files/digest-superadduser-1.0-r2: + 04 Sep 2002; Karl Trygve Kalleberg superadduser-1.0-r2.ebuild files/digest-superadduser-1.0-r2: + Fixed a bug when chowning home directories. Fixes #7464. + 18 Aug 2002; Karl Trygve Kalleberg superadduser-1.0-r2.ebuild files/digest-superadduser-1.0-r2: Fixed script so that the home directories are properly chowned. Script files moved to files/1.0. diff --git a/app-admin/superadduser/files/1.0/superadduser b/app-admin/superadduser/files/1.0/superadduser index 3081ce30465c..1f65997ea8e0 100644 --- a/app-admin/superadduser/files/1.0/superadduser +++ b/app-admin/superadduser/files/1.0/superadduser @@ -101,7 +101,7 @@ echo Making new account... /usr/sbin/useradd $GHME -m $GEXP $GGID $GAGID $GSHL $GUID $LOGIN if [ -d $HME ]; then chmod 711 $HME - chown $LOGIN:$GGID $HME + chown $LOGIN:$GID $HME fi echo /usr/bin/chfn $LOGIN -- cgit v1.2.3-65-gdbad