Hi, everyone. Complete newbie for snap and packaging in general. I am trying to create a snap package for the Dart Language sdk. It is a simple zip file that you have to unzip and place in a directory with user privileges, and set environment variables. Here is my snapcraft.yaml.
summary: Dart Language SDK
description: This includes the Dart SDK, and adds environment variables for the skd and pub package manager. For more information on the Dart Language, please visit www.dartlang.org
You are using classic confinement which you allow you to sudo and such, how is root access instrumented?
I want to type in “dart-sdk” and access the file. however, under the current setup, I have to use “sudo dart-sdk.” As an sdk, it requires access without root. Is there a way to set this up so that you don’t need the sudo? Thanks for the other suggestions. I will look into those.