From ed01f1bb552add10f45597e0834964e250f98cd4 Mon Sep 17 00:00:00 2001 From: lemniskett Date: Mon, 2 Nov 2020 05:12:35 +0000 Subject: [PATCH] Set permission when installing. --- install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 952287d..fd92865 100755 --- a/install.sh +++ b/install.sh @@ -1,8 +1,8 @@ #!/bin/bash mkdir -p /usr/local/share/archbox/bin -cp -v ./archbox.bash /usr/local/bin/archbox -[[ ! -e /etc/archbox.conf ]] && cp -v ./archbox.conf /etc/archbox.conf -cp -v ./copyresolv.bash /usr/local/share/archbox/bin/copyresolv -cp -v ./archboxcommand.bash /usr/local/share/archbox/bin/archbox -cp -v ./chroot_setup.bash /usr/local/share/archbox/chroot_setup.bash +install -v -D -m 755 ./archbox.bash /usr/local/bin/archbox +[[ ! -e /etc/archbox.conf ]] && install -v -D -m 755 ./archbox.conf /etc/archbox.conf +install -v -D -m 755 ./copyresolv.bash /usr/local/share/archbox/bin/copyresolv +install -v -D -m 755 ./archboxcommand.bash /usr/local/share/archbox/bin/archbox +install -v -D -m 755 ./chroot_setup.bash /usr/local/share/archbox/chroot_setup.bash