From 967fbbc67898a19dd97ebba0afb0f7de8d91c032 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 23 Mar 2022 09:57:17 -0500 Subject: [PATCH] Various fixes needed to make app run (#125) * Set permissions correctly to avoid warning when sudoing. * Using sudo here causes the service unit to fail, but it isn't needed anyway. Remove. * [fix] Typo ? * Revert sudo Co-authored-by: ljf (zamentur) --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index e87500e..353ec8d 100755 --- a/scripts/install +++ b/scripts/install @@ -80,6 +80,7 @@ chmod u+x "/usr/local/bin/backup-with-$app" chown $app:$app "/usr/local/bin/backup-with-$app" ynh_add_config --template="sudoer" --destination="/etc/sudoers.d/$app" +chown root:root "/etc/sudoers.d/$app" if [ ! -z "$server" ]; then #=================================================