[snap] Chromium snap should ask for "removable-media" interface

Bug #1769495 reported by Ratchanan Srirattanamet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Fix Released
Medium
Olivier Tilloy

Bug Description

This will helps people that keep lots of files on the external hard drive (for example). If I understand correctly, this interface should let me browse files in an external hard drive for upload. Currently, when I try to browse a file from an external hard drive, it'll say "permission denied".

Even this interface isn't auto-connected, a person that needs it should be able to grant it.

$ snap list
Name Version Rev Tracking Developer Notes
chromium 65.0.3325.181 277 stable canonical -
core 16-2.32.5 4486 stable canonical core
spotify 1.0.77.338.g758ebd78-41 13 stable spotify -

$ snap interfaces chromium
Slot Plug
:browser-support chromium:browser-sandbox,spotify
:camera chromium
:cups-control chromium
:desktop chromium,spotify
:gsettings chromium,spotify
:home chromium,spotify
:mount-observe chromium
:network chromium,spotify
:network-manager chromium
:opengl chromium,spotify
:password-manager-service chromium
:pulseaudio chromium,spotify
:screen-inhibit-control chromium
:unity7 chromium,spotify
:upower-observe chromium
:x11 chromium,spotify

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic

$ LC_ALL=C apt policy snapd
snapd:
  Installed: 2.32.5+18.04
  Candidate: 2.32.5+18.04
  Version table:
 *** 2.32.5+18.04 500
        500 http://th.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

Tags: snap
Olivier Tilloy (osomon)
tags: added: snap
Changed in chromium-browser (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in chromium-browser (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
status: Confirmed → Fix Committed
Revision history for this message
Olivier Tilloy (osomon) wrote :

The interface isn't auto-connected, but the plug is there for users to manually connect it now.

Changed in chromium-browser (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jerrik (jara981) wrote :

This is still affecting me.

Ubuntu 18.10 Chromium (snap) I verified fix is in the .yml file but still having issue on mounted drives (via fstab)

Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :

@jara981

First, "removable-media" is not an auto-connected interface. You have to connect it using:

snap connect chromium:removable-media :removable-media

Second, I'm not sure how snap determines if a drive is a removable drive or not, but I guess mounting it with fstab might not be expected by snap. Try mounting your drive via file manager.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.