Hi All,
I try to package my executable file “server” into snap, I wrote below snapcraft.yaml and generate snap file, but i met below errors when i start the app, but the application “server” don’t access the resource under /home, can you give the advices? Great thanks!
Sorry, home directories outside of /home are not currently supported.
See Support for non /home homedirs for details.
my snapcraft.yaml
name: server
version: '0.1'
summary: udp server
description: |
It is an udp server
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
apps:
server:
command: server
parts:
server:
plugin: copy
files:
server : server
# stage-packages: [libssl-dev]
plugs:
server:
interface: network-bind,home