[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 6a4fa70: Make sure chroot's root directory is
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 6a4fa70: Make sure chroot's root directory is world-readable |
Date: |
Sat, 8 Feb 2020 18:25:00 -0500 (EST) |
branch: master
commit 6a4fa701dcb5b0461c0063059eb11a3f0baea7b3
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Make sure chroot's root directory is world-readable
---
install_redhat.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/install_redhat.sh b/install_redhat.sh
index cf3deaf..9e1b898 100755
--- a/install_redhat.sh
+++ b/install_redhat.sh
@@ -85,6 +85,10 @@ yum --assumeyes install debootstrap
mkdir -p /srv/chroot/"${CHRTNAME}"
debootstrap "${CODENAME}" /srv/chroot/"${CHRTNAME}"
http://deb.debian.org/debian/
+# Make sure chroot's root directory is world-readable--see:
+# https://lists.nongnu.org/archive/html/lmi/2020-02/msg00007.html
+chmod 0755 /srv/chroot/"${CHRTNAME}"
+
echo Installed debian "${CODENAME}".
cat >/etc/schroot/chroot.d/"${CHRTNAME}".conf <<EOF
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master 6a4fa70: Make sure chroot's root directory is world-readable,
Greg Chicares <=