1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitea_ynh.git synced 2024-09-03 20:36:22 +02:00

Fix missing permission

This commit is contained in:
Josué Tille 2024-09-01 23:12:51 +02:00
parent f6373deb54
commit 3e79ef8662
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -15,6 +15,7 @@ _set_permissions() {
chmod +x "$install_dir/gitea"
chown -R "$app:$app" "$data_dir"
chmod u=rwx,g=rx,o= "$data_dir"
find "$data_dir" \( \! -perm -o= \
-o \! -user "$app" \
-o \! -group "$app" \) \