[snap] No access to HTML documentation in /usr/share/doc

Bug #1851895 reported by Nils K
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Due to the fact that snaps are very restricted one is unable to open local files outside of ones own home directory.
An example where such an access is common are files from *-doc packages like `/usr/share/doc/python3-doc/html/index.html`.
I don't know if this is fixable with the current interfaces or if this requires a classic confinement mode but I miss this feature as sometimes running a webserver is not an option...

Tags: snap
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Just an FYI: If you connect the removable-media plug, you should be able to access files and directories mounted under /mnt and /media; it won't expand to /usr/share/ though.

Revision history for this message
Nils K (septatrix) wrote :

This also (kinda obvious, but did not thought about it first) affects saving files outside of ones home folder.

Revision history for this message
Olivier Tilloy (osomon) wrote :

As pointed out by Chris, the removable-media interface helps with reading and saving files under /mnt and /media.

There's currently no interface that allows access to files in /usr/share.

summary: - No access to local files outside /home
+ [snap] No access to HTML documentation in /usr/share/doc
tags: added: snap
Changed in chromium-browser (Ubuntu):
status: New → Triaged
Revision history for this message
Nils K (septatrix) wrote :

Okay and theoretically I should be able to remount the /usr/share folder as a loopback in media, right? But that would be a needlessly complicated solution. Would reinstalling the snap in classic mode fix the problem?

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.