From a22dabea12d145548f6c594d0f7ea9455f852328 Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 26 Feb 2019 01:11:02 +0100 Subject: [PATCH] change chown --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index adeba1e..4da7acc 100644 --- a/scripts/install +++ b/scripts/install @@ -244,7 +244,7 @@ install -o root -g root -m 0755 ../conf/$service_name /usr/local/bin/ mkdir -pm 0755 ${final_path}/ cp -a ../sources/* ${final_path}/ -chown -R www-data: ${final_path}/ +chown -R $app: ${final_path}/ chmod -R 0644 ${final_path}/* find ${final_path}/ -type d -exec chmod +x {} \;