From 670cf8bb85cd6aee014b9f663a89004230a9aa97 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 21 May 2022 19:10:16 +0300 Subject: [PATCH] enforce file ownership on plugins.local before updating since git is being picky with permissions --- src/app/startup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/startup.sh b/src/app/startup.sh index e021ebf..0414b88 100755 --- a/src/app/startup.sh +++ b/src/app/startup.sh @@ -50,6 +50,8 @@ done if [ -z "$TTRSS_NO_STARTUP_PLUGIN_UPDATES" ]; then echo updating all local plugins... + chown -R $OWNER_UID:$OWNER_GID $DST_DIR/plugins.local + find $DST_DIR/plugins.local -mindepth 1 -maxdepth 1 -type d | while read PLUGIN; do if [ -d $PLUGIN/.git ]; then echo updating $PLUGIN...