Merge pull request #59 from YunoHost-Apps/Fix-SSH-permissions

Fix ssh permissions
This commit is contained in:
Éric Gaspar 2022-10-13 08:44:15 +02:00 committed by GitHub
commit d37ae35aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub.
**Shipped version:** 1.17.2~ynh1 **Shipped version:** 1.17.2~ynh2
## Screenshots ## Screenshots

View File

@ -18,7 +18,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub.
**Version incluse :** 1.17.2~ynh1 **Version incluse :** 1.17.2~ynh2
## Captures d'écran ## Captures d'écran

View File

@ -14,7 +14,7 @@
}, },
"url": "http://gitea.io", "url": "http://gitea.io",
"license": "MIT", "license": "MIT",
"version": "1.17.2~ynh1", "version": "1.17.2~ynh2",
"maintainer": { "maintainer": {
"name": "Josué Tille", "name": "Josué Tille",
"email": "josue@tille.ch" "email": "josue@tille.ch"

View File

@ -66,4 +66,5 @@ set_permission() {
chmod u=rwx,g=rx,o= "$final_path/custom/conf/app.ini" chmod u=rwx,g=rx,o= "$final_path/custom/conf/app.ini"
chmod u=rwX,g=rX,o= "$datadir" chmod u=rwX,g=rX,o= "$datadir"
chmod u=rwX,g=rX,o= "/var/log/$app" chmod u=rwX,g=rX,o= "/var/log/$app"
chmod u=rwx,g=,o= "$ssh_path"
} }