How to run snap installed programs as different users & groups?

Is there something where I can change the user/group id of Snap installed applications? I would like to secure what folders/files they have access to on my machine.

Similar to

sudo -H -u "$USER" -g "$GROUP" /bin/command

or like systemd

[Service]
Type=simple
User=john
Group=admins
ExecStart=/bin/command
TimeoutStartSec=0
RemainAfterExit=yes
5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like