<div dir="ltr">Hi,<div><br></div><div>Based on the solution, I have created two examples for it:</div><div><br></div><div>Share a read-only bianary: </div><div>   <a href="https://github.com/liu-xiao-guo/content-bin">https://github.com/liu-xiao-guo/content-bin</a><br></div><div><br></div><div>Share a SNAP_COMMON directory:</div><div>   <a href="https://github.com/liu-xiao-guo/content-data">https://github.com/liu-xiao-guo/content-data</a><br></div><div><br></div><div>I have created a blog at <a href="http://blog.csdn.net/ubuntutouch/article/details/53811829">http://blog.csdn.net/ubuntutouch/article/details/53811829</a>. Hopefully, it is useful to the rest of the developers.</div><div><br></div><div>Best regards,</div><div>xiaoguo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 22, 2016 at 2:25 AM, Jacek Nykis <span dir="ltr"><<a href="mailto:jacek.nykis@canonical.com" target="_blank">jacek.nykis@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 21/12/16 17:43, Jacek Nykis wrote:<br>
> On 21/12/16 17:22, Pat McGowan wrote:<br>
>> The documentation on sharing writable data was updated last week, notably<br>
>> saying this works in version 2.19.1 and later. There is also a<br>
>> recommendation to not use subfolders. 2.20.1 is available from xenial<br>
>> proposed.<br>
>><br>
>> <a href="https://github.com/snapcore/snapd/wiki/Content-Interface" rel="noreferrer" target="_blank">https://github.com/snapcore/<wbr>snapd/wiki/Content-Interface</a><br>
>><br>
>> Hope it helps<br>
>> Pat<br>
><br>
> Thanks for suggestion Pat.<br>
><br>
> I saw that page but I am trying to share read only data. It does not<br>
> work in 2.17, I also tried with 2.20.1 without luck.<br>
><br>
> I am trying to share single directory containing one file.<br>
><br>
> Regards,<br>
> Jacek<br>
<br>
</span>Thank you everybody for help, especially zyga on rocketchat!<br>
<br>
He was able to clarify things for me and provider workaround. I added<br>
info to the bug in case others hit this problem:<br>
<a href="https://bugs.launchpad.net/snappy/+bug/1650671/comments/2" rel="noreferrer" target="_blank">https://bugs.launchpad.net/<wbr>snappy/+bug/1650671/comments/2</a><br>
<br>
Regards,<br>
Jacek<br>
<br>
<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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">XiaoGuo, Liu </div></div></div></div>
</div>