DroidFS icon indicating copy to clipboard operation
DroidFS copied to clipboard

Import existing volume

Open Brulijam opened this issue 1 year ago • 6 comments

Hi. Is it possible to import an existing volume into DroidFS?

Brulijam avatar Jul 12 '24 18:07 Brulijam

Do you mean by clicking on the "+" button, selecting the path to the volume, and then clicking "Add volume"?

hardcore-sushi avatar Jul 13 '24 13:07 hardcore-sushi

When clicking the + button and selecting the path to an existing volume, I only have a "CREATE VOLUME" button. I am using DroidFS version 2.1.3, installed via fdroid and want to use it with a gocrypt volume that was created with plasma-vault in KDE.

Brulijam avatar Jul 13 '24 13:07 Brulijam

OK, what's the path displayed by DroidFS? Is it the same as what you get from your file explorer? If it is, what's the content of the directory?

hardcore-sushi avatar Jul 13 '24 14:07 hardcore-sushi

Yes they are the same. Path in DroidFS is /storage/emulated/0/vaults/Stuff.enc which contains the files gocryptfs.conf, gocryptfs.diriv and srH2S...ANnzA.

Brulijam avatar Jul 14 '24 21:07 Brulijam

Alright. This may be a permission problem. Is DroidFS able to properly create a volume under /storage/emulated/0/vaults/?

If not, ensure it is granted the MANAGE_EXTERNAL_STORAGE permission under Android Settings > Apps > Special app access > All files access > DroidFS. However, the app should automatically request it when you click on the folder icon to select the path, doesn't it work for you?

Also, check that the directory permissions are set to:

drwxrwx---  root everybody  /storage/emulated/0/vaults/Stuff.enc
-rw-rw----  root everybody  /storage/emulated/0/vaults/Stuff.enc/gocryptfs.conf
-rw-rw----  root everybody  /storage/emulated/0/vaults/Stuff.enc/gocryptfs.diriv

hardcore-sushi avatar Jul 15 '24 11:07 hardcore-sushi

Alaways great explanations. Thanks dev!

serrq avatar Sep 26 '24 03:09 serrq