I can reliably reproduce the issue after creating an encrypted Private
directory with ecryptfs-setup-private (see
https://help.ubuntu.com/community/EncryptedPrivateDirectory#Setup_Your_Encrypted_Private_Directory).

The problem stems from the fact that the home interface doesn't allow
reading/writing to hidden folders in $HOME, and the ~/Private folder is
actually backed by encrypted data in ~/.Private.

This is not specific to chromium, other strictly confined snaps using
the home interface would be similarly affected.

Interestingly, saving a file to the folder still works, despite the
error and the fact that the file dialog is unable to show the contents
of the folder.

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

** Summary changed:

- [snap] Permission denied on Private folder
+ [snap] Permission denied on Private encrypted folder

** Changed in: chromium-browser (Ubuntu)
   Importance: Undecided => Low

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

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

Title:
  [snap] Permission denied on Private encrypted folder

Status in chromium-browser package in Ubuntu:
  Confirmed
Status in snapd package in Ubuntu:
  New

Bug description:
  When accessing the Private (/home/username/Private, Encrypted
  Directory) folder (e.g. via "Link save as...") it shows "Could not
  read contents of Private, Error opening directory ...: Permission
  denied"

  Package: chromium-browser
  Version: 77.0.3865.120-0ubuntu1~snap1

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