cryfs
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
Expected Behavior
- Mount the the encypted volume using KDE Plasma Vault
- Open terminal and cd into a subdirectory inside the mounted volume
- run an application (docker-compose or Visual Studio Code)
- 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
- Open terminal
- cd into a cryfs mounted volume (mounted via KDE Vault)
- 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
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