Mastering App Permissions in Ubuntu: A Step-by-Step Guide to Snap’s New Prompting System

By

Introduction

If you’ve been using Ubuntu and haven’t explored the latest improvements to its app permission prompts, now is the perfect time. Canonical has revamped the Snap-based permission system, moving from retroactive approval to runtime prompts that appear when an app actually needs access to system resources (like your camera, microphone, or files). This change puts you in control, letting you grant or deny permissions in the moment — similar to how Android and iOS handle it. In this guide, we’ll walk you through the new system, show you how to respond to prompts, manage permissions after the fact, and share tips to stay secure.

Mastering App Permissions in Ubuntu: A Step-by-Step Guide to Snap’s New Prompting System
Source: www.omgubuntu.co.uk

What You Need

Step-by-Step Instructions

Step 1: Install a Snap App That Uses Permissions

To experience the new prompts, you need a Snap application that actually requires system access. For example, the GNOME Boxes snap might request camera permissions, or a screenshot tool like Flameshot may ask for screen capture. Install one via the Ubuntu Software Center or using the terminal:

sudo snap install flameshot

After installation, note that the app hasn’t yet been given any permissions – the new system will ask when it first needs them.

Step 2: Launch the App and Trigger a Permission Request

Open your newly installed Snap app from the Applications menu. When the app tries to access a protected resource for the first time (like your webcam or microphone), a modal window will appear on screen. This is the runtime permission prompt, designed to look similar to mobile OS prompts. It will say something like: “Allow [App Name] to access the camera?” with three options:

Step 3: Choose Your Permission Preference

Read the prompt carefully. If you’re unsure, “Only While Using the App” is the most secure choice for sensitive resources like cameras or location. It revokes permission as soon as you close the app. For less sensitive resources (like file access), you might choose “Allow” to avoid repeated prompts. Click your choice and the app will proceed accordingly. If you deny, the app will either handle it gracefully or show an error.

Step 4: Review and Manage Permissions Later

What if you denied a permission and later change your mind? No problem. Open a terminal and use the snap connections command to list all permissions for a given snap:

snap connections <snap-name>

This shows each interface (like camera or home) and its current status (attached = allowed, detached = denied). To grant a previously denied permission, use:

sudo snap connect <snap-name>:camera :camera

Replace camera with the appropriate interface name. You can also use snap disconnect to revoke a permission that was accidentally allowed.

Mastering App Permissions in Ubuntu: A Step-by-Step Guide to Snap’s New Prompting System
Source: www.omgubuntu.co.uk

Step 5: Understand What Has Changed from Previous Versions

Earlier releases of Ubuntu’s Snap system only allowed you to approve permissions after an app was installed via snap connect commands. The new runtime prompting is a significant upgrade because:

This improvement, shared by Canonical engineer Oliver Calder, aims to “empower users” by putting control in their hands at the moment of need.

Step 6: Keep Your System Updated for Best Security

Canonical continues to refine the permission prompting system. To get the latest features and security fixes, regularly update snapd and your installed Snaps:

sudo snap refresh

Always install Snaps from trusted publishers (the Snap Store verifies them). The runtime prompt system only works with interfaces that support it; older snaps may need updates.

Tips for a Secure and Smooth Experience

By following these steps, you can take full advantage of Ubuntu’s improved app permission prompting, giving you fine-grained control over what your Snaps can access. The shift to runtime prompts makes desktop security feel as intuitive as on mobile, without sacrificing the power of Linux.

Tags:

Related Articles

Recommended

Discover More

What You Need to Know About the Partner Premier Tier on the Terraform RegistryLinux Kernel 7.1 Begins Removal of 1990s AMD Elan SoC DriversTesla Introduces Basecharger for Semi Trucks and Unveils Pricing for Megacharger UnitsUltrafast Lasers Turn Metal into Star-Like Plasma in Trillionths of a SecondHow Meta's Adaptive Ranking Model Transforms Ad Serving with LLM-Scale Intelligence