I created snap service for app which runs Git. Git installed to snap via stage-package. I installed service with strict confinement. When my service tries run Git (Golang app via exec.Command), Git returns error: Permission denied fatal: Could not read from remote repository.
This error appears only with strict confinement.
Service has network plug.
How can I solve this problem?