<div dir="ltr"><div><div><div><div>Hi Stuart,<br></div>I never got "write" working, it always tells me "permission denied".<br></div>For your mount issue, I guess you need to create a empty folder locally called "test-share-targe<wbr>t".<br><br></div>Br<br></div>Enwei<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 9:39 PM, Stuart Bishop <span dir="ltr"><<a href="mailto:stuart.bishop@canonical.com" target="_blank">stuart.bishop@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><span class="m_-3162142719611824607gmail-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="m_-3162142719611824607gmail-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></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-targe<wbr>t 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="m_-3162142719611824607gmail-yj6qo m_-3162142719611824607gmail-ajU"><div id="m_-3162142719611824607gmail-:te" class="m_-3162142719611824607gmail-ajR"><img class="m_-3162142719611824607gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><div class="gmail_extra"><span class=""><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="m_-3162142719611824607gmail-HOEnZb"><div class="m_-3162142719611824607gmail-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="m_-3162142719611824607gmail-m_-2612079003076069988HOEnZb"><div class="m_-3162142719611824607gmail-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></span><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-3162142719611824607gmail_signature" data-smartmail="gmail_signature">Stuart Bishop <<a href="mailto:stuart.bishop@canonical.com" target="_blank">stuart.bishop@canonical.com</a>></div>

</font></span></div></div>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br></div>