mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2025-09-02 18:18:31 +02:00
Fix permission for SSH
This commit is contained in:
@ -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"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user