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@lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to