content interface, DENIED mounting $SNAP/mydir

Michi Henning michi.henning at canonical.com
Fri Mar 3 00:06:37 UTC 2017


> On 3 Mar 2017, at 4:33 , knitzsche <kyle.nitzsche at canonical.com> wrote:
> 
> Hi,
> 
> I am trying to use the wifi-ap content sharing interface.
> 
> It is DENIED (see below) when I try to use a $SNAP directory.
> 
> It works when I instead use $SNAP_DATA directory for the content sharing. But, I have to create that directory at run time: I can't figure out so far how to create (from snapcraft.yaml) an empty dir in $SNAP_COMMON or $SNAP_DATA at install time. (Knowing this would solve my problem.)


We do this to create a directory:

install: |
      # Make sure we have a mount point for ubuntu-app-platform
      mkdir -p $SNAPCRAFT_PART_INSTALL/ubuntu-app-platform

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170303/97c86734/attachment.html>


More information about the Snapcraft mailing list