Bug 405713 - Enable "removable-media" plug for snap
Summary: Enable "removable-media" plug for snap
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-21 08:45 UTC by p.kushwaha97+bugzilla
Modified: 2020-07-29 15:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p.kushwaha97+bugzilla 2019-03-21 08:45:14 UTC
SUMMARY

Currently, okular installed via snap can only access documents in user's home directory. But often you want to access files on an external hard drive or usb drive. Even if it's not enabled by default

STEPS TO REPRODUCE
1. Be on Ubuntu 16.04 or be using nautilus 
2. Install okular via snap
3. Go to a pdf file on a mounted drive
4. Right click and select "open with okular"

OBSERVED RESULT

A cryptic error message which looks like "cannot access file /run/....pdf"


EXPECTED RESULT

Be able to open the file

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Ubuntu 16.04
KDE Plasma Version: Whatever is installed by snap for Okular 18.12.2
KDE Frameworks Version: Same as above
Qt Version: Same as above

ADDITIONAL INFORMATION

Just enabling this plug in yaml file should do it. Users who need it can then also run `sudo snap connect okular:removable-media` to enable this functionality
Comment 1 p.kushwaha97+bugzilla 2019-03-21 08:47:28 UTC
I tried to change the product to okular in this bug but there's no option for version 18.12.2
Comment 2 Harald Sitter 2019-03-21 12:36:59 UTC
I feel like desktop portals are the more appropriate solution for this. Unfortunately they continue to be stuck in security review for backports AFAIK.
Comment 3 merlijn.sebrechts 2020-07-29 15:26:11 UTC
This is now fixed, removable-media was added to okular and is now auto-connected. Thanks for reporting the bug!