the desktop helpers create .config with 0700 but that got lost in the transition to the snapcraft extension.
From the helpers:
# Set config folder to local path
export XDG_CONFIG_HOME=$SNAP_USER_DATA/.config
ensure_dir_exists $XDG_CONFIG_HOME -m 700
This isn't in snapcraft, it does an ensure_dir_exists $XDG_CONFIG_HOME/fontconfig which create $SNAP_USER_DATA via the mkdir -p. The explicit creating of that dir was probably seen as redundant, but we do need that.
the desktop helpers create .config with 0700 but that got lost in the transition to the snapcraft extension.
From the helpers: HOME=$SNAP_ USER_DATA/ .config
# Set config folder to local path
export XDG_CONFIG_
ensure_dir_exists $XDG_CONFIG_HOME -m 700
This isn't in snapcraft, it does an ensure_dir_exists $XDG_CONFIG_ HOME/fontconfig which create $SNAP_USER_DATA via the mkdir -p. The explicit creating of that dir was probably seen as redundant, but we do need that.