From 9ca66351da790e7b3478add6e3650f273e045f2b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 17 Sep 2020 08:27:26 +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 \