Fix path to gitea binary for chmod

This commit is contained in:
Salamandar 2018-06-19 10:18:50 +02:00
parent 592339ace9
commit 3cd8328945

View File

@ -74,11 +74,9 @@ set_permission() {
chown -R $app:$app "$final_path"
chown -R $app:$app "/home/$app"
chown -R $app:$app "/var/log/$app"
chmod u=rwX,g=rX,o= "$final_path"
chmod u=rwx,g=rx,o= "$final_path/$app"
chmod u=rwx,g=rx,o= "$final_path/gitea"
chmod u=rwX,g=rX,o= "/home/$app"
chmod u=rwX,g=rX,o= "/var/log/$app"
}