I don’t think this gets enough attention, but setting the HUGO_CACHEDIR
to something within each user’s $HOME directory is advantageous for several reasons:
- You won’t run into permission problems like this
- No collisions if multiple users have the same project name
- Persistent storage between restarts (helpful when using Hugo modules)
Actually, it did change something. With v0.92.1 and earlier you get a descriptive error message. With v0.92.2 it panics; this is a regression.