apply more sane permissions on cache directories

This commit is contained in:
Andrew Dolgov 2020-09-17 08:23:49 +03:00
parent 5dd7a03270
commit 3c0599566b
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ chown -R $OWNER_UID:$OWNER_GID $DST_DIR \
/var/log/php7
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
$PSQL -c "create extension if not exists pg_trgm"