Hello, Thank you for the response. Actually, what I want to achieve is something different. I am following this source https://github.com/giaever-online-iot/home-assistant-snap/blob/master/snap/snapcraft.yaml to generate a snap for home assistant. Under apps, the command bin/hass --config $SNAP_DATA starts the application and generates few configuration files and folders, which will get stored at $SNAP_DATA. The command takes a path as arguement, where there files and folders need to be stored. I have modified the command to bin/hass --config /var/snap/rexroth-solutions/common/solutions/activeConfiguration/home-assistant/config At the moment, I am facing the following issue: Fatal Error: Unable to create library directory /var/snap/rexroth-solutions/common/solutions/activeConfiguration/home-assistant/config/deps: [Errno 13] Permission denied: '/var/snap/rexroth-solutions/common/solutions/activeConfiguration/home-assistant/config/deps' Steps I have followed so far: 1. Added a shell script, which will create a folder named home-assistant and sub folder named config inside activeConfiguration directory. 2. Added configs folder with package-assets file 3. Added active-solution plugs to snapcraft.yaml 4. Added parts to dump shell script and package-assets 5. Added hooks connect-plug-active-solution I have attached the complete project as Zip. Please, let me know where I am making mistakes. Any help would be highly appreciable. Thanks & Regards
... View more