diff --git a/scripts/install b/scripts/install index 48fd622..55f25b1 100755 --- a/scripts/install +++ b/scripts/install @@ -142,7 +142,7 @@ chmod 750 "$final_path/bootstrap/cache" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chown -R $app: $public_path +chown -R $app:www-data $public_path chmod 755 $public_path #================================================= diff --git a/scripts/restore b/scripts/restore index 30bd6b5..19a4783 100755 --- a/scripts/restore +++ b/scripts/restore @@ -81,7 +81,7 @@ chmod 750 "$final_path/bootstrap/cache" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chown -R $app: $public_path +chown -R $app:www-data $public_path chmod 755 $public_path #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8651aae..f1efe6f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -161,7 +161,7 @@ ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\" # SECURE FILES AND DIRECTORIES #================================================= -chown -R $app: $public_path +chown -R $app:www-data $public_path chmod 755 $public_path #=================================================