diff --git a/scripts/install b/scripts/install index f4e88f9..c1dd1b8 100755 --- a/scripts/install +++ b/scripts/install @@ -113,14 +113,8 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" # Set permissions to app files chown -R $app:$app $final_path -#chmod o-rwx $final_path chmod 600 $final_path/.env -# chown -R root:root $final_path -# chmod o-rwx $final_path -# chown -R www-data:www-data $final_path/writable -# chown -R www-data:www-data $final_path/public/media - #================================================= # SETUP SSOWAT #================================================= diff --git a/scripts/restore b/scripts/restore index f155b92..563c0c2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -73,14 +73,8 @@ ynh_restore_file --origin_path="$final_path" # Set permissions to app files chown -R $app:$app $final_path -#chmod o-rwx $final_path chmod 600 $final_path/.env -# chown -R root:root $final_path -# chmod o-rwx $final_path -# chown -R www-data:www-data $final_path/writable -# chown -R www-data:www-data $final_path/public/media - #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8d32e96..d1073cd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -109,14 +109,8 @@ ynh_add_fpm_config --package="$extra_php_dependencies" # Set permissions to app files chown -R $app:$app $final_path -#chmod o-rwx $final_path chmod 600 $final_path/.env -# chown -R root:root $final_path -# chmod o-rwx $final_path -# chown -R www-data:www-data $final_path/writable -# chown -R www-data:www-data $final_path/public/media - #================================================= # RELOAD NGINX #=================================================