[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 2bfa77a: Fix permissions

From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2bfa77a: Fix permissions
Date: Sun, 16 Feb 2020 19:17:31 -0500 (EST)

branch: master
commit 2bfa77a43660bca1a799bce886fbed687a6bebe2
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Fix permissions
 lmi_setup_20.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lmi_setup_20.sh b/lmi_setup_20.sh
index 8a45140..a718291 100755
--- a/lmi_setup_20.sh
+++ b/lmi_setup_20.sh
@@ -35,13 +35,15 @@ dpkg --add-architecture i386
 # Prevent daemons from starting in the chroot; work around an
 # 'ischroot' defect. See:
 #   https://wiki.debian.org/chroot#Configuration
+# and, for file permissions:
+#   https://lists.nongnu.org/archive/html/lmi/2020-02/msg00015.html
 cat >/usr/sbin/policy-rc.d <<EOF
 exit 101
-chmod a+x /usr/sbin/policy-rc.d
+chmod 755 /usr/sbin/policy-rc.d
 dpkg-divert --divert /usr/bin/ischroot.debianutils --rename /usr/bin/ischroot
 ln -s /bin/true /usr/bin/ischroot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]