Fix missing permission

This commit is contained in:
Josué Tille 2024-09-01 23:12:51 +02:00
parent a23147b3d6
commit adf8b82b68
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" \) \