Merge lp:~osomon/webbrowser-app/xdg_download_dir into lp:webbrowser-app

Proposed by Olivier Tilloy
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 1362
Merged at revision: 1370
Proposed branch: lp:~osomon/webbrowser-app/xdg_download_dir
Merge into: lp:webbrowser-app
Diff against target: 16 lines (+1/-2)
1 file modified
debian/webbrowser-app-apparmor.manifest (+1/-2)
To merge this branch: bzr merge lp:~osomon/webbrowser-app/xdg_download_dir
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Jamie Strandboge Approve
Review via email: mp+286887@code.launchpad.net

Commit message

Refer to @{XDG_DOWNLOAD_DIR} in the browser’s apparmor profile instead of hardcoding "Downloads" in English.

Description of the change

Note: this is not enough to fully address bug #1535666. We’re still missing a mechanism that automatically sets the value of @{XDG_DOWNLOAD_DIR} based on the user’s locale (third bullet point in https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1061693/comments/1).

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This looks fine. Note, you only need to specify this in write_path since it includes 'r'.

review: Approve
1362. By Olivier Tilloy

Remove Downloads dir entry from read_path as this generates duplicated entries in the profile.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/webbrowser-app-apparmor.manifest'
2--- debian/webbrowser-app-apparmor.manifest 2016-01-28 22:12:45 +0000
3+++ debian/webbrowser-app-apparmor.manifest 2016-02-23 21:43:24 +0000
4@@ -32,11 +32,10 @@
5 "/usr/share/applications/",
6 "/custom/vendor/here/location-provider/consent/*.html",
7 "@{HOME}/.local/share/applications/",
8- "@{HOME}/Downloads/",
9 "/sys/devices/**/input*/"
10 ],
11 "write_path": [
12- "@{HOME}/Downloads/"
13+ "@{HOME}/@{XDG_DOWNLOAD_DIR}/"
14 ]
15 }
16 }

Subscribers

People subscribed via source and target branches

to status/vote changes: