I realized that I don't lke this part. To delete both db and cache/views/*, glossaire.sh needs to have write access to both (they're created by Apache, so owned by www-data). I'm thinking about moving this logic into the class, and let glossaire just mark somewhere last update's timestamp.