The "proper fix" may never arrive because sandboxing is core feature of
snaps and blocking access to dotfiles is inherent part of sandbox. So
from snap perspective your workflow is invalid.

There are two solutions: adjust your workflow or abandon chromium snap.
It's up to you what you choose.

-- 
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/1850088

Title:
  permission denied when opening a mounted folder in save file dialog

Status in chromium-browser package in Ubuntu:
  New

Bug description:
  After upgrading to Ubuntu 19.10, when I tried to open a file into a
  sshfs-mounted folder inside my home folder, it says permission denied.
  This didn't happen at Ubuntu 19.04.

  Steps to reproduce:
  1. Use sshfs to mount a sftp folder on an empty folder inside my home drive 
(e.g. ~/.server)
  2. Create a soft link in the home folder to a folder inside the mounted sftp 
file system (e.g. ~/server > .server/home/michael )
  3. Open chromium
  4. Download a file
  5. Enter that folder in the file dialog

  Expected result:
  I can enter the folder

  Actual result:
  It says permission denied

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: chromium-browser 77.0.3865.120-0ubuntu1~snap1
  ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1
  Uname: Linux 5.3.0-19-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu8
  Architecture: amd64
  CurrentDesktop: KDE
  DRM.card1-HDMI-A-1:
   enabled: disabled
   dpms: Off
   status: disconnected
   edid-base64: 
   modes:
  DRM.card1-VGA-1:
   enabled: enabled
   dpms: On
   status: connected
   edid-base64: 
AP///////wBBDGbAJEYAAA8WAQNuMx14LspFpFZLnCUSUFS9SwDRwLMAlQCBgJUPAQEBAQEBAjqAGHE4LUBYLEUA/R4RAAAeAAAA/wBVSEIxMjE1MDE3OTU2AAAA/ABQaGlsaXBzIDIzNENMAAAA/QA4TB5TEQAKICAgICAgAHs=
   modes: 1920x1080 1680x1050 1280x1024 1280x1024 1440x900 1440x900 1024x768 
1024x768 800x600 800x600 640x480 640x480 640x480 640x480 720x400
  Date: Mon Oct 28 10:14:27 2019
  DiskUsage:
   Filesystem           Type   Size  Used Avail Use% Mounted on
   /dev/mapper/vg0-root ext4   230G  190G   29G  87% /
   tmpfs                tmpfs  7.8G  165M  7.6G   3% /dev/shm
   /dev/mapper/vg0-root ext4   230G  190G   29G  87% /
  InstallationDate: Installed on 2016-10-03 (1119 days ago)
  InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  MachineType: ASUS All Series
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-19-generic 
root=/dev/mapper/vg0-root ro quiet splash resume=/dev/vg0/swap vt.handoff=7
  Snap.ChromeDriverVersion: ChromeDriver 78.0.3904.70 
(edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800})
  Snap.ChromiumVersion: Chromium 78.0.3904.70 snap
  SourcePackage: chromium-browser
  UpgradeStatus: Upgraded to eoan on 2019-10-25 (2 days ago)
  dmi.bios.date: 08/13/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2105
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H81M-E
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2105:bd08/13/2014:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnH81M-E:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.family: ASUS MB
  dmi.product.name: All Series
  dmi.product.sku: All
  dmi.product.version: System Version
  dmi.sys.vendor: ASUS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850088/+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