cake_wallet icon indicating copy to clipboard operation
cake_wallet copied to clipboard

Flatpak writes to ~/cake_wallet and has access to the home directory

Open pilldag opened this issue 1 year ago • 1 comments

Describe the bug

The Flatpak desktop version of Cake creates the ~/cake_wallet directory and stores the majority of the application data there.

This unnecessarily litters the home directory. However, a bigger problem is that due to this the Cake Flatpak comes with full access permission to the whole home directory by default, without your knowledge or consent.

One of the points of Flatpak is that applications can be built in a way that you don't have to take the the risk of giving access to all your files.

Can you constrain Cake's working directory to ~/.var/app/com.cakewallet.CakeWallet, where Flatpaks usually store their application data, and remove the default permission to the home folder?

Platform:

  • OS: Linux
  • Cake Wallet Version: v4.19.5 Flatpak

pilldag avatar Sep 11 '24 22:09 pilldag

Even for the standard non-flatpak version, it creates cake_wallet. Could it at least be ".cake_wallet" or something?

AffSeda avatar May 15 '25 01:05 AffSeda

This is better handled in latest releases, closing this as completed, but feel free to re-open if the issue still persists

OmarHatem28 avatar Dec 02 '25 03:12 OmarHatem28