mirror of
https://github.com/YunoHost-Apps/wetty_ynh.git
synced 2024-09-03 18:16:29 +02:00
Fix permissions on installed files.
Try to fix "unknown command -p".
This commit is contained in:
parent
4f413cfebe
commit
7029742de2
8 changed files with 23 additions and 38 deletions
17
README.md
17
README.md
|
@ -1,6 +1,6 @@
|
|||
# Wetty for YunoHost
|
||||
|
||||
[![Integration level](https://dash.yunohost.org/integration/wetty.svg)](https://dash.yunohost.org/appci/app/wetty) ![](https://ci-apps.yunohost.org/ci/badges/wetty.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/wetty.maintain.svg)
|
||||
[![Integration level](https://dash.yunohost.org/integration/wetty.svg)](https://dash.yunohost.org/appci/app/wetty) ![](https://ci-apps.yunohost.org/ci/badges/wetty.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/wetty.maintain.svg)
|
||||
[![Install Wetty with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=wetty)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
## Overview
|
||||
Terminal in browser over HTTP/HTTPS. (Ajaxterm/Anyterm alternative, but much better)
|
||||
|
||||
**Shipped version:** 2.0.2
|
||||
**Shipped version:** 2.0.3
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
@ -25,13 +25,16 @@ There is few configuration in Wetty:
|
|||
|
||||
## Documentation
|
||||
|
||||
* Official documentation: https://github.com/butlerx/wetty/tree/master/docs
|
||||
* YunoHost documentation: If specific documentation is needed, feel free to contribute.
|
||||
* Official documentation: https://github.com/butlerx/wetty/tree/master/docs
|
||||
* YunoHost documentation: If specific documentation is needed, feel free to contribute.
|
||||
|
||||
## YunoHost specific features
|
||||
|
||||
#### Multi-user support
|
||||
|
||||
* Is LDAP and HTTP authentication supported ? **No**
|
||||
* Nevertheless, being connected on Yunohost prevents using `/wetty/ssh/<user>`
|
||||
|
||||
Multi-user doesn't really mean anything. You can log as any *system* user that allows local SSH login.
|
||||
|
||||
You can specify at install if users should log into YunoHost first to be able to access Wetty, or if visitors can access it too.
|
||||
|
@ -47,9 +50,9 @@ You can specify at install if users should log into YunoHost first to be able to
|
|||
|
||||
## Links
|
||||
|
||||
* Report a bug: https://github.com/YunoHost-Apps/wetty_ynh/issues
|
||||
* Upstream app repository: https://github.com/butlerx/wetty
|
||||
* YunoHost website: https://yunohost.org/
|
||||
* Report a bug: https://github.com/YunoHost-Apps/wetty_ynh/issues
|
||||
* Upstream app repository: https://github.com/butlerx/wetty
|
||||
* YunoHost website: https://yunohost.org/
|
||||
|
||||
---
|
||||
|
||||
|
|
16
README_fr.md
16
README_fr.md
|
@ -1,6 +1,6 @@
|
|||
# Wetty pour YunoHost
|
||||
|
||||
[![Niveau d'intégration](https://dash.yunohost.org/integration/wetty.svg)](https://dash.yunohost.org/appci/app/wetty) ![](https://ci-apps.yunohost.org/ci/badges/wetty.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/wetty.maintain.svg)
|
||||
[![Niveau d'intégration](https://dash.yunohost.org/integration/wetty.svg)](https://dash.yunohost.org/appci/app/wetty) ![](https://ci-apps.yunohost.org/ci/badges/wetty.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/wetty.maintain.svg)
|
||||
[![Installer Wetty avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=wetty)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
|
@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
|
|||
## Vue d'ensemble
|
||||
Terminal dans un navigateur par HTTP/HTTPS. (Alternative à Ajaxterm/Anyterm, mais bien meilleure)
|
||||
|
||||
**Version incluse :** 2.0.2
|
||||
**Version incluse :** 2.0.3
|
||||
|
||||
## Captures d'écran
|
||||
|
||||
|
@ -25,14 +25,16 @@ Il y a peu de configuration dans Wetty :
|
|||
|
||||
## Documentation
|
||||
|
||||
* Documentation officielle : https://github.com/butlerx/wetty/tree/master/docs
|
||||
* Documentation YunoHost : Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer.
|
||||
* Documentation officielle : https://github.com/butlerx/wetty/tree/master/docs
|
||||
* Documentation YunoHost : Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer.
|
||||
|
||||
## Caractéristiques spécifiques YunoHost
|
||||
|
||||
#### Support multi-utilisateur
|
||||
|
||||
* L'authentification LDAP et HTTP est-elle prise en charge ? **Non**
|
||||
* Néanmoins, la connection sur Yunohost interdit l'utilisation de `/wetty/ssh/<utilisateur>`
|
||||
|
||||
* L'application peut-elle être utilisée par plusieurs utilisateurs ? La notion de multi-utilisateur ne s'applique pas. Vous pouvez vous connecter en tant que n'importe quel utilisateur *système* qui autorise la connexion SSH locale.
|
||||
|
||||
Vous pouvez spécifier lors de l'installation si les utilisateurs doivent d'abord se connecter à YunoHost pour pouvoir accéder à Wetty, ou si les visiteurs peuvent également y accéder.
|
||||
|
@ -48,9 +50,9 @@ Vous pouvez spécifier lors de l'installation si les utilisateurs doivent d'abor
|
|||
|
||||
## Liens
|
||||
|
||||
* Signaler un bug : https://github.com/YunoHost-Apps/wetty_ynh/issues
|
||||
* Dépôt de l'application principale : https://github.com/butlerx/wetty
|
||||
* Site web YunoHost : https://yunohost.org/
|
||||
* Signaler un bug : https://github.com/YunoHost-Apps/wetty_ynh/issues
|
||||
* Dépôt de l'application principale : https://github.com/butlerx/wetty
|
||||
* Site web YunoHost : https://yunohost.org/
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/butlerx/wetty/archive/v2.0.2.tar.gz
|
||||
SOURCE_SUM=8bc879993d53da6b672a866354bc8568ca17f1b82a91dcd8561de90e9bfc0370
|
||||
SOURCE_URL=https://github.com/butlerx/wetty/archive/v2.0.3.tar.gz
|
||||
SOURCE_SUM=721b73111dd3812b52ff7a84164afc37720d95d020bf6d97b09e4afbf6d1c859
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Terminal in browser over HTTP/HTTPS.",
|
||||
"fr": "Un terminal dans le navigateur sur HTTP/HTTPS."
|
||||
},
|
||||
"version": "2.0.2~ynh2",
|
||||
"version": "2.0.3~ynh1",
|
||||
"url": "https://github.com/butlerx/wetty/",
|
||||
"license": "MIT",
|
||||
"maintainer": {
|
||||
|
|
|
@ -114,12 +114,6 @@ pushd "$final_path" || return 1
|
|||
yarn_bin_dir="$(sudo -u "$app" env "$ynh_node_load_PATH" yarn global bin)"
|
||||
popd || return 1
|
||||
|
||||
#=================================================
|
||||
# SECURE FILES AND DIRECTORIES
|
||||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R root: "$final_path"
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
|
|
|
@ -124,13 +124,6 @@ ynh_add_systemd_config --others_var="domain port path_url ynh_node_load_PATH yar
|
|||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# SECURE FILES AND DIRECTORIES
|
||||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R root: "$final_path"
|
||||
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
#=================================================
|
||||
|
|
|
@ -68,7 +68,7 @@ ynh_system_user_create --username="$app"
|
|||
#=================================================
|
||||
|
||||
# Restore permissions on app files
|
||||
chown -R root: "$final_path"
|
||||
chown -R "$app":"$app" "$final_path"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
|
|
|
@ -135,13 +135,6 @@ ynh_add_systemd_config --others_var="domain port path_url ynh_node_load_PATH yar
|
|||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# SECURE FILES AND DIRECTORIES
|
||||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R root: "$final_path"
|
||||
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue