← Back to team overview

touch-packages team mailing list archive

[Bug 1535666] Re: Downloading files fails on non-English systems

 

For XDG translatable user dirs and apparmor policy, please see
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1061693. This
only deals with traditional desktop policy though and not touch policy.
In terms of support on Touch, it was decided long ago (I can't seem to
find the thread, but I can keep looking if required) that we would not
support translatable XDG user dirs on the phone (note, they have been
problematic for other reasons). This decision was taken early on in the
Touch project (I believe seb128 was involved). AIUI, a future converged
experience would also not support the problematic translatable XDG user
dirs either.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1535666

Title:
  Downloading files fails on non-English systems

Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  On my desktop setup (French locale), the XDG download folder is named
  "Téléchargements". The apparmor policy for webbrowser-app specifically
  requests read/write access to $HOME/Downloads/, which works only on
  systems where the downloads folder is named "Downloads".

  When downloading a file in the browser, I’m seeing the following error
  in the console:

  Failed moving file from "/home/osomon/.local/share/ubuntu-download-
  manager/webbrowser-app/Downloads/example.pdf" to
  "/home/osomon/Téléchargements/example.pdf"

  I wonder if apparmor exposes a way to specify XDG folders in policies.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1535666/+subscriptions


References