From: Chris Gianelloni Date: Tue, 6 Feb 2007 22:25:38 +0000 (+0000) Subject: Make sure the user owns his home directory for bug #147195. X-Git-Tag: CATALYST_2_0_6_916~283 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e45833de901fb31d1dcaba54c9c8dad606307c5;p=catalyst.git 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 --- 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