Make sure the user owns his home directory for bug #147195.
authorChris Gianelloni <wolf31o2@gentoo.org>
Tue, 6 Feb 2007 22:25:38 +0000 (22:25 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Tue, 6 Feb 2007 22:25:38 +0000 (22:25 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1211 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
files/catalyst.conf
targets/support/livecdfs-update.sh

index 9caaad40b32ae188828dc3558a0f2fdda18e137b..ecbccb35b7de1eb2ba79189adfb33c389af2456b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  06 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/catalyst.conf,
+  targets/support/livecdfs-update.sh:
+  Make sure the user owns his home directory for bug #147195.
+
   30 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/catalyst.conf,
   +files/catalystrc, modules/catalyst_support.py:
   Re-arranged catalyst.conf to make it easier to follow while looking at the
index dc53a0c19289caf29e4747edc9ac8c756195634b..4dfd3cf83398f72156e004249fab9b90d339891d 100644 (file)
@@ -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.
index 53ad9affb969ead8a0cb681f1e422d4dc43129c7..7acfac193c92385db5f1c3dfbf2435fe9b9cfb5a 100755 (executable)
@@ -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