diff --git a/scripts/install b/scripts/install index 438e4b6..d47b35b 100755 --- a/scripts/install +++ b/scripts/install @@ -103,9 +103,9 @@ popd ynh_add_config --template="../conf/user.css.example" --destination="$install_dir/public/dist/user.css" -chgrp www-data -R $install_dir/storage $install_dir/public/dist $install_dir/public/sym $data_dir/uploads -chmod -R 775 $install_dir/storage/* $install_dir/app/* $install_dir/public/dist $install_dir/public/sym $data_dir/uploads $install_dir/bootstrap/ -chmod 775 $install_dir/. +chgrp $app -R $install_dir/storage $install_dir/public/dist $install_dir/public/sym $data_dir/uploads +chmod -R 2775 $install_dir/storage/* $install_dir/app/* $install_dir/public/dist $install_dir/public/sym $data_dir/uploads $install_dir/bootstrap/ +chmod 2775 $install_dir/. #================================================= # END OF SCRIPT