That wrapper looks decidedly devoid of the normal content for a strict snap. Have you perchance set your snap to be classic? The wrapper should be auto-generated to look like this:
I just found out about snapcraft today, so I don’t know the difference between “classic” and other modes, or how to change them. I assumed the getting started / hello world tutorial would set these up correctly?
update @popeysnapcraft cleanbuild generates a working snap. Just using snapcraft as the tutorial says doesn’t. What is the difference of cleanbuild?
Cleanbuild uses an empty Ubuntu 16.04 container via the LXD system (similar to Virtual Machines like VirtualBox or VMware but without the overhead of emulating the PC Hardware).
Classic is a completely unrestricted package. The other modes are Devmode and Strict. Devmode works the same way as Strict but the restrictions are not enforced so they only log a message to the system log when they would prevent access in a Strict snap. Strict is the “confined” and preferred mode where access to the system is restricted and controlled via “interfaces” which explicitly define the parts of the system that the snap wants to access. You set the mode using the confinement flag in snapcraft.yaml:
name: my-snap
version: '0.1'
summary: My super snap
description: >
A really awesome snap that does snappy things!
confinement: strict # this can be 'strict', 'devmode' or 'classic'.