content sharing from $SNAP_COMMON

Tim Kuhlman timothy.kuhlman at canonical.com
Fri Dec 2 18:34:26 UTC 2016


I have a snap that writes data to $SNAP_COMMON as it runs and I want to make that data available to another
snap. Unfortunately when I setup the content interface and set the plug side to share
'/var/snap/snap-name/common/subdir' it fails.

I can share data in $SNAP with the content interface but of course the daemon running in that snap can't
write there. Am I missing anything? Is there any way to share dynamically created data from one snap with another?

Thanks for the help.
-- 
Tim Kuhlman
CDO - IS - Delta




More information about the Snapcraft mailing list