You did not mention Firefox, with comes pre-installed. Does the problem
not happen there or did you just not test it there?

Your home interface is connected. Do you have a non-conventional home
directory, or is it the usual /home/USER? The Apparmor log indicates the
latter, but I want to confirm it.

In /var/lib/snapd/apparmor/profiles/snap.chromium.chromium, do you have
such a section:

--->
# Allow read/write access to all files in @{HOME}, except snap application
# data in @{HOME}/snap and toplevel hidden directories in @{HOME}.
owner @{HOME}/[^s.]**             rwklix,
owner @{HOME}/s[^n]**             rwklix,
<---

Please also attach

  dpkg -l|grep xdg-desktop-portal
  systemctl list-units --user --type=service --state=running | grep xdg-desk

** Changed in: chromium-browser (Ubuntu)
       Status: New => Incomplete

** No longer affects: ubuntu-personal-security (Ubuntu)

** No longer affects: ubuntu-core-security (Ubuntu)

** Also affects: snapd (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: snapd (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2085375

Title:
  KUbuntu 24.04 can not acceass local files from Chromium and Brave

Status in chromium-browser package in Ubuntu:
  Incomplete
Status in snapd package in Ubuntu:
  Incomplete

Bug description:
  KUbuntu 24.04 can not acceass local files from Chromium and Brave.

  *How to reproduce*

  1. Lets have Chromium or Brave installed from snap
  2. Start app
  3. Try to download file or load local file

  
  *What happens*

  Nothing. IUn download it says "Need permission to download"

  *What is expected*

  Download and upload files shall be not a problem for modern OS.

  *Observation*

  cat/var/log/syslog shows following relevant logs:

  2024-10-22T19:43:11.774787+02:00 XXX kernel: audit: type=1400
  audit(1729618991.773:244): apparmor="DENIED" operation="open"
  class="file" profile="snap.chromium.chromium"
  name="/home/user/Desktop/file.jpg" pid=3679 comm="ThreadPoolForeg"
  requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  ProcVersionSignature: Ubuntu 6.8.0-47.47-generic 6.8.12
  Uname: Linux 6.8.0-47-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Tue Oct 22 19:45:58 2024
  InstallationDate: Installed on 2024-05-11 (164 days ago)
  InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 
(20240425.1)
  Snap: chromium 129.0.6668.100 (latest/stable)
  SnapChanges: no changes found
  SnapSource: ubuntu/+source/chromium-browser
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2085375/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to