Fix permission for SSH

This commit is contained in:
ericgaspar 2022-10-11 21:48:39 +02:00
parent a063925d22
commit 1ee916e694
2 changed files with 2 additions and 1 deletions

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"
} }