apply more sane permissions on cache directories

legacy-php5
Andrew Dolgov 4 years ago
parent 5dd7a03270
commit 3c0599566b

@ -52,7 +52,8 @@ chown -R $OWNER_UID:$OWNER_GID $DST_DIR \
/var/log/php7 /var/log/php7
for d in cache lock feed-icons; do 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 done
$PSQL -c "create extension if not exists pg_trgm" $PSQL -c "create extension if not exists pg_trgm"

Loading…
Cancel
Save