summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-10-12 13:55:42 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:42 +0100
commit61ffd3e9441edaa5c4522d4d3eedd288f61f6eef (patch)
tree0a52a1d94b4b83406e4973992e76221e276c31c6
parentc977712868e857def61bc6e337e70b9e9c08ffd3 (diff)
downloadvyos-live-build-61ffd3e9441edaa5c4522d4d3eedd288f61f6eef.tar.gz
vyos-live-build-61ffd3e9441edaa5c4522d4d3eedd288f61f6eef.zip
Manually setting owner of /etc/skel to root.
-rwxr-xr-xhelpers/lh_chroot_hacks4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index a2021798c..563f86570 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" ]