Comment 6 for bug 1910298

Revision history for this message
Ken VanDine (ken-vandine) wrote : Re: .cache and .config directories in ~/snap/ should be o0700

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.