From 61ffd3e9441edaa5c4522d4d3eedd288f61f6eef Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 12 Oct 2008 13:55:42 +0200
Subject: Manually setting owner of /etc/skel to root.

---
 helpers/lh_chroot_hacks | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index a202179..563f865 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -100,6 +100,10 @@ then
 	chown -R --quiet 999:999 chroot/home/${LH_USERNAME}
 fi
 
+# Setting ownership for /etc/skel - this is where people often include stuff
+# through local includes.
+chown -R --quiet 0:0 chroot/home/etc/skel
+
 # This is a temporary hack to get rid of fstab;
 # needs cleanup in live-initramfs first to proper fix.
 if [ "${LH_DEBIAN_INSTALLER}" = "live" ]
-- 
cgit v1.0