diff --git a/scripts/_common.sh b/scripts/_common.sh index 2e37883..cbef3c3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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" \) \