cryfs icon indicating copy to clipboard operation
cryfs copied to clipboard

Some applications fail with "cannot open path of the current working directory: Permission denied" when run from within the mounted directory

Open uglyog opened this issue 5 years ago • 1 comments

Expected Behavior

  1. Mount the the encypted volume using KDE Plasma Vault
  2. Open terminal and cd into a subdirectory inside the mounted volume
  3. run an application (docker-compose or Visual Studio Code)
  4. application opens or runs for that dorectory

Actual Behavior

Application fails to start with a permission denied error.

$ cd Vaults/Powercore/api-platform/
$ mount | grep cryfs
cryfs@/home/ronald/.local/share/plasma-vault/Powercore.enc on /home/ronald/Vaults/Powercore type fuse.cryfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
$ mount | rg cryfs
cannot open path of the current working directory: Permission denied
$ code .
cannot open path of the current working directory: Permission denied
$ docker-compose run --rm api npm install
cannot open path of the current working directory: Permission denied
$ cd ../..
$ code Powercore/api-platform/ (application opens)
$ 

Steps to Reproduce the Problem

  1. Open terminal
  2. cd into a cryfs mounted volume (mounted via KDE Vault)
  3. Run an application like Visual Studio Code, Docker Compose, Ripgrep

Specifications

  • CryFS Version: 0.9.10
  • Operating System (incl. Version): Kubuntu 19.10, KDE Plasma 5.16.5, Kernel 5.3.0-19-generic

uglyog avatar Nov 12 '19 23:11 uglyog

I'm also running into this problem with yarn, I'm trying to run a git repo from within a vault and yarn fails with the same error when doing any operations inside the vault

sricks avatar Aug 13 '23 18:08 sricks