On 29 November 2016 at 08:36, Enwei Zhang <enwei.zh...@canonical.com> wrote:
> Thank you Timo. > I changed from "./bin" to "/bin", then it works. > Did you have any luck getting 'write' to work? I'm getting as far as running my app and it failing with: cannot mount /snap/prov/x2 at /snap/cons/x1/test-share-target with options bind. errmsg: No such file or directory I'm unsure what paths I should be using. I need to get access to $SNAP_DATA, $SNAP_USER_DATA, $SNAP_COMMON etc. to install configuration files. Are there any user docs or design specs around, or is this feature being prototyped on the fly? I can't even find anything about the plugs: stanza in snapcraft.yaml, but that might just be a lack of Google juice. keskiviikko 23. marraskuuta 2016 Enwei Zhang <enwei.zh...@canonical.com> >> kirjoitti: >> > Hello, >> > Thanks Timo for the good example. >> > While I tried to write two snaps(server to share paths to client) that >> use content interface to share files, I found "write" slot doesn't work. >> > The code snippet from server side snapcraft.yaml >> > >> > slots: >> > test-share: >> > content: test-content-server >> > interface: content >> > write: >> > - . >> > >> > When accessing from client side snap, it shows "permission denied". >> >> >> -- Stuart Bishop <stuart.bis...@canonical.com>
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft