diff options
author | Chris Lamb <lamby@debian.org> | 2008-10-12 13:46:28 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:42 +0100 |
commit | d9810a364404c6b317287979b15d3b83389bdd64 (patch) | |
tree | a251187ae0d65a05527955aa0f0783f5b5443a26 /helpers/lh_chroot_hacks | |
parent | 2722cbb7095cfd8fdc2bf1cb0fad448883a531bd (diff) | |
download | vyos-live-build-d9810a364404c6b317287979b15d3b83389bdd64.tar.gz vyos-live-build-d9810a364404c6b317287979b15d3b83389bdd64.zip |
Ensure all files installed via chroot_local-includes are owned by root:root. Thanks to Julien Cristau <jcristau@debian.org>.
This may cause problems for users who are relying on the target uid and gid
of the files in the build system's config/chroot_local-includes being the
same on the live image.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-x | helpers/lh_chroot_hacks | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index e2cb8cc3b..a2021798c 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -100,14 +100,6 @@ 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 - -# Making sure /etc/sudoers has right owner/permissions -chown --quiet 0:0 chroot/home/etc/sudoers -chmod 0440 chroot/etc/sudoers - # This is a temporary hack to get rid of fstab; # needs cleanup in live-initramfs first to proper fix. if [ "${LH_DEBIAN_INSTALLER}" = "live" ] |