Hi,
How should I prevent all users except one to run a snap installed software ?
Take Firefox for instance. From 22.04, Firefox is a snap by default, and the /snap/bin/firefox is just a symbolic link to /usr/bin/snap :
pivert@pivert-X400:~$ which firefox
/snap/bin/firefox
pivert@pivert-X400:~$ ls -lh /snap/bin/firefox
lrwxrwxrwx 1 root root 13 feb 12 19:55 /snap/bin/firefox -> /usr/bin/snap
So, changing group and permissions on /usr/bin/snap is not an option, since it will impact other packages.
How can I grant execution right to Firefox (as a snap package) to only one user. The other users are using snap for other applications.
Context: I want to make sure my child can access Minetest (as snap package), and not Firefox (an other snap package).
Thanks !
How should I prevent all users except one to run a snap installed software ?
Take Firefox for instance. From 22.04, Firefox is a snap by default, and the /snap/bin/firefox is just a symbolic link to /usr/bin/snap :
pivert@pivert-X400:~$ which firefox
/snap/bin/firefox
pivert@pivert-X400:~$ ls -lh /snap/bin/firefox
lrwxrwxrwx 1 root root 13 feb 12 19:55 /snap/bin/firefox -> /usr/bin/snap
So, changing group and permissions on /usr/bin/snap is not an option, since it will impact other packages.
How can I grant execution right to Firefox (as a snap package) to only one user. The other users are using snap for other applications.
Context: I want to make sure my child can access Minetest (as snap package), and not Firefox (an other snap package).
Thanks !
Comment