brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: snap connections shows which resources a snap may use

Snap
~/tips/tip-snap-connections-interfaces

snap connections firefox

Lists the sandbox permissions of a snap and whether each is connected.

A snap runs in a sandbox and gets access only through interfaces. If a snap cannot read a folder, this list tells me why.

snap connections firefox
sudo snap connect firefox:removable-media

The table lists each interface, the plug on the snap and the slot that it is connected to. A dash in the slot column means the access is not granted. snap connect grants it, and snap disconnect takes it away. Some interfaces connect automatically and others do not, which is why a snap may fail to see files on a USB disk until you connect removable-media.

Further reading: Connect interfaces (Snap documentation)

More Snap tips snap refresh --list sudo snap save lxd snap services sudo snap stop --disable lxd.daemon sudo snap alias vlc my-vlc All Snap tips (14) All topics

Link