From 7e45833de901fb31d1dcaba54c9c8dad606307c5 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 6 Feb 2007 22:25:38 +0000 Subject: [PATCH] Make sure the user owns his home directory for bug #147195. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1211 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 4 ++++ files/catalyst.conf | 4 ++-- targets/support/livecdfs-update.sh | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9caaad40..ecbccb35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 06 Feb 2007; Chris Gianelloni files/catalyst.conf, + targets/support/livecdfs-update.sh: + Make sure the user owns his home directory for bug #147195. + 30 Jan 2007; Chris Gianelloni files/catalyst.conf, +files/catalystrc, modules/catalyst_support.py: Re-arranged catalyst.conf to make it easier to follow while looking at the diff --git a/files/catalyst.conf b/files/catalyst.conf index dc53a0c1..4dfd3cf8 100644 --- a/files/catalyst.conf +++ b/files/catalyst.conf @@ -34,10 +34,10 @@ hash_function="crc32" # ccache = enables build time ccache support (highly recommended) # distcc = enable distcc support for building. You have to set distcc_hosts in # your spec file. -# pkgcache = keeps a tbz2 of every built package (useful if your build stops -# prematurely) # kerncache = keeps a tbz2 of your built kernel and modules (useful if your # build stops in livecd-stage2) +# pkgcache = keeps a tbz2 of every built package (useful if your build stops +# prematurely) # seedcache = use the build output of a previous target if it exists to speed up # the copy # snapcache = cache the snapshot so that it can be bind-mounted into the chroot. diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index 53ad9aff..7acfac19 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -48,6 +48,7 @@ then do useradd -G users,wheel,audio,games,cdrom,usb -c "Default LiveCD User" \ -m ${x} + chown -R ${x}:users /home/${x} if [ -n "${clst_livecd_xdm}" -a -n "${clst_livecd_xsession}" ] then echo "[Desktop]" > /home/${x}/.dmrc -- 2.26.2