I think this is because https://github.com/ubuntu/snapcraft-desktop-helpers/blob/master/common/init#L19. Note that ensure_dir_exists is used by including scripts to create the cache dir, but the function doesn't set the permissions.
I think this is because https:/ /github. com/ubuntu/ snapcraft- desktop- helpers/ blob/master/ common/ init#L19. Note that ensure_dir_exists is used by including scripts to create the cache dir, but the function doesn't set the permissions.