From 88fbe874721675a374f126fbdfc0c4ef14884691 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 17 Sep 2020 08:28:21 +0300 Subject: [PATCH] apply more sane permissions on cache directories --- src/app/startup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/startup.sh b/src/app/startup.sh index 68a7cae..0ba3773 100755 --- a/src/app/startup.sh +++ b/src/app/startup.sh @@ -42,7 +42,8 @@ for d in cache lock feed-icons plugins.local themes.local; do done for d in cache lock feed-icons; do - chmod -R 777 $DST_DIR/$d + chmod 777 $DST_DIR/$d + find $DST_DIR/$d -type f -exec chmod 666 {} \; done chown -R $OWNER_UID:$OWNER_GID $DST_DIR \