mirror of
https://github.com/YunoHost-Apps/20euros_ynh.git
synced 2024-09-03 18:05:53 +02:00
Fix permissions
This commit is contained in:
parent
f8c5f11894
commit
09b05df3e2
7 changed files with 9 additions and 7 deletions
|
@ -18,8 +18,8 @@ Clone of 2048 game with euro coins and bills.
|
||||||
|
|
||||||
#### Supported architectures
|
#### Supported architectures
|
||||||
|
|
||||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/20euros/)
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/20euros/)
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/20euros/)
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/20euros/)
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ Clone du jeu 2048 avec pièces et billets en euros.
|
||||||
|
|
||||||
#### Architectures supportées
|
#### Architectures supportées
|
||||||
|
|
||||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/20euros/)
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/20euros/)
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/20euros/)
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/20euros/)
|
||||||
|
|
||||||
## Liens
|
## Liens
|
||||||
|
|
||||||
|
|
|
@ -14,5 +14,4 @@
|
||||||
upgrade=1
|
upgrade=1
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
port_already_use=0
|
|
||||||
change_url=1
|
change_url=1
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "A 2048 variant with Euro coins and notes.",
|
"en": "A 2048 variant with Euro coins and notes.",
|
||||||
"fr": "Une variante 2048 avec pièces et billets en euros."
|
"fr": "Une variante 2048 avec pièces et billets en euros."
|
||||||
},
|
},
|
||||||
"version": "1.0~ynh4",
|
"version": "1.0~ynh5",
|
||||||
"url": "https://github.com/jatekos101/20euros",
|
"url": "https://github.com/jatekos101/20euros",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -74,6 +74,7 @@ ynh_add_nginx_config
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R root: $final_path
|
chown -R root: $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
|
@ -65,6 +65,7 @@ ynh_system_user_create --username=$app
|
||||||
|
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R root: $final_path
|
chown -R root: $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
|
@ -84,6 +84,7 @@ ynh_add_nginx_config
|
||||||
|
|
||||||
# Set permissions on app files
|
# Set permissions on app files
|
||||||
chown -R root: $final_path
|
chown -R root: $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Add table
Reference in a new issue