mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Fix permission for SSH
This commit is contained in:
parent
a063925d22
commit
1ee916e694
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue