From b950a1966d63284fc6fa2ee0645b7f598a1b5259 Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 8 Nov 2017 08:23:02 +0000 Subject: [PATCH] Fixed permission error. Resolves #136 --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index dc30f127..0dfc5434 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -98,7 +98,7 @@ function create_raspap_directories() { # Create a directory to store networking configs sudo mkdir -p "$raspap_dir/networking" # Copy existing dhcpcd.conf to use as base config - cat /etc/dhcpcd.conf > "$raspap_dir/networking/defaults" + cat /etc/dhcpcd.conf | sudo tee -a /etc/raspap/networking/defaults sudo chown -R $raspap_user:$raspap_user "$raspap_dir" || install_error "Unable to change file ownership for '$raspap_dir'"