From e1431c75e2661b7f5ca92dc02c8e064c168e9dcc Mon Sep 17 00:00:00 2001 From: Nathan Gill Date: Thu, 10 Aug 2023 18:00:49 -0400 Subject: [PATCH] Fix permissions in the install dir --- scripts/install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 42b97f1..688be5f 100755 --- a/scripts/install +++ b/scripts/install @@ -36,6 +36,10 @@ ynh_script_progression --message="Configuring Cinny..." --weight=1 # Copy over the Cinny configuration file ynh_add_config --template="../conf/cinny.json" --destination="$install_dir/config.json" +# Fix any permissions in the install dir +chmod -R o-rwx "$install_dir" +chown -R $app:www-data "$install_dir" + #================================================= # END OF SCRIPT #=================================================