Shared content example - ubuntu-app-platform
Enwei Zhang
enwei.zhang at canonical.com
Wed Nov 23 03:14:36 UTC 2016
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".
Also, I found only "." path can work, other path like below "./bin" cannot
work. When you run "snap interfaces", below slot "test-share" will not show
up.
slots:
test-share:
content: test-content-server
interface: content
read:
- ./bin
Are these bugs or my misunderstanding? I tested on both 2.16 and 2.17 snapd.
Thanks for your answer.
Br
Enwei
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161123/c725c535/attachment.html>
More information about the Snapcraft
mailing list