<div dir="ltr"><span class="gmail-im">On 29 November 2016 at 08:36, Enwei Zhang <span dir="ltr"><<a href="mailto:enwei.zhang@canonical.com" target="_blank">enwei.zhang@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail-m_-314663311260836267gmail-m_5375633640798494488h5"><div><div>Thank you Timo.<br></div>I changed from "./bin" to "/bin", then it works.<br></div></div></div></div></blockquote><div><br><br></div></span><div>Did you have any luck getting 'write' to work? I'm getting as far as running my app and it failing with:<br><br> cannot mount /snap/prov/x2 at /snap/cons/x1/test-share-<wbr>target with options bind. errmsg: No such file or directory<br><br></div><div>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.<br><br></div>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.<div class="gmail-yj6qo gmail-ajU"><div id="gmail-:te" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-m_-2612079003076069988HOEnZb"><div class="gmail-m_-2612079003076069988h5">keskiviikko 23. marraskuuta 2016 Enwei Zhang <<a href="mailto:enwei.zhang@canonical.com" target="_blank">enwei.zhang@canonical.com</a>> kirjoitti:<br>> Hello,<br>> Thanks Timo for the good example.<br>> 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.<br>> The code snippet from server side snapcraft.yaml<br>><br>> slots:<br>> test-share:<br>> content: test-content-server<br>> interface: content<br>> write:<br>> - .<br>><br>> When accessing from client side snap, it shows "permission denied".<br><br></div></div><br></blockquote></div></div></div></div></blockquote></div><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Stuart Bishop <<a href="mailto:stuart.bishop@canonical.com" target="_blank">stuart.bishop@canonical.com</a>></div>
</div></div>