Charmcraft snap thinks /cache
is the cache directory if snapd doesn't set SNAP_USER_COMMON
#2012
Labels
Bug
Something isn't working
Bug Description
If snapd fails to set
$SNAP_USER_COMMON](https://bugs.launchpad.net/snapd/+bug/2090938) in the environment, charmcraft gets
/cacheas its [
$XDG_CACHE_HOME`, which is generally not writable.Related:
$PATH
operator-workflows#496To Reproduce
With snapd 2.66.1:
Environment
charmcraft.yaml
n/a
Relevant log output
The text was updated successfully, but these errors were encountered: