Closed
Bug 1449864
Opened 8 years ago
Closed 8 years ago
[snap package] removable-media plug needed to allow saving downloaded files to /media
Categories
(Release Engineering :: Release Automation, defect)
Release Engineering
Release Automation
Tracking
(firefox59 wontfix, firefox60 fixed, firefox61 fixed)
RESOLVED
FIXED
People
(Reporter: olivier, Assigned: olivier)
References
Details
Attachments
(1 file)
|
Bug 1449864: [snap package] add the removable-media plug to allow saving downloaded files to /media.
59 bytes,
text/x-review-board-request
|
jlorenzo
:
review+
jcristau
:
approval-mozilla-beta+
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/66.0.3359.45 Chrome/66.0.3359.45 Safari/537.36
Steps to reproduce:
As initially reported at https://forum.snapcraft.io/t/snap-firefox-unable-to-save-downloads-files/4734, firefox installed from the snap package doesn't allow saving downloaded files to /media.
Steps to reproduce:
snap install firefox
/snap/bin/firefox
browse to e.g. https://kernel.org, right-click on a [tarball] link and choose "Save Link As…"
in the file dialog, try browsing to /media
Actual results:
An error dialog pops up: « Error opening directory '/media': Permission denied »
Expected results:
The user can browse to /media and subdirectories, and choose to save the file there.
| Comment hidden (mozreview-request) |
Updated•8 years ago
|
Assignee: nobody → olivier
Blocks: snappy
status-firefox59:
--- → wontfix
status-firefox60:
--- → affected
status-firefox61:
--- → affected
Component: Untriaged → Release Automation
Product: Firefox → Release Engineering
QA Contact: catlee
Version: 59 Branch → unspecified
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8963501 [details]
Bug 1449864: [snap package] add the removable-media plug to allow saving downloaded files to /media.
https://reviewboard.mozilla.org/r/232446/#review238718
This makes sense to me. Thank you for the investigation and the fix!
Attachment #8963501 -
Flags: review+
Pushed by jlorenzo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3bbcd354714
[snap package] add the removable-media plug to allow saving downloaded files to /media. r=jlorenzo
Comment 4•8 years ago
|
||
Comment on attachment 8963501 [details]
Bug 1449864: [snap package] add the removable-media plug to allow saving downloaded files to /media.
Approval Request Comment
[Feature/Bug causing the regression]: None
[User impact if declined]: Linux: Can't download on external devices.
[Is this code covered by automated tests?]: No.
[Has the fix been verified in Nightly?]: N/A. We don't build snaps on Nigthly.
[Needs manual test from QE? If yes, steps to reproduce]: No. Tests were done by partner.
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: No
[Why is the change risky/not risky?]: This adds a new permission to the security model of Snap packages.
[String changes made/needed]: None.
Attachment #8963501 -
Flags: approval-mozilla-beta?
Comment 5•8 years ago
|
||
| bugherder | ||
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Unfortunately /media is not just used by removable media, Nautilus File Manager automatically mounts additional drive partitions there, making any Windows partitions fully exposed. Fortunately the user can revoke access with:
> sudo snap disconnect firefox:removable-media
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
Comment 7•8 years ago
|
||
Comment on attachment 8963501 [details]
Bug 1449864: [snap package] add the removable-media plug to allow saving downloaded files to /media.
Not ready for uplift.
Attachment #8963501 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Comment 8•8 years ago
|
||
Comment 6 seems like an important security issue. What's your take on this, Olivier?
Flags: needinfo?(olivier)
It appears the removable-media interface does _not_ auto-connect by default, the user must do this manually. Sorry for the confusion.
| Assignee | ||
Comment 10•8 years ago
|
||
That's right, the removable-media plug is not auto-connected, it's a manual operation. So that doesn't open any security hole by default.
Flags: needinfo?(olivier)
Comment 11•8 years ago
|
||
I can't set the approval-mozilla-beta flag back to "?". Could you set it for me, Ryan?
Flags: needinfo?(ryanvm)
Updated•8 years ago
|
Flags: needinfo?(ryanvm)
Attachment #8963501 -
Flags: approval-mozilla-beta- → approval-mozilla-beta?
Comment 12•8 years ago
|
||
Comment on attachment 8963501 [details]
Bug 1449864: [snap package] add the removable-media plug to allow saving downloaded files to /media.
Sounds fine. approved for 60.0b14.
Attachment #8963501 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 13•8 years ago
|
||
| uplift | ||
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Comment 14•7 years ago
|
||
Follow up work on the snapd-side: https://forum.snapcraft.io/t/firefox-removable-media-interface-auto-connect-request/5929
You need to log in
before you can comment on or make changes to this bug.
Description
•