Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import existing volume #295

Open
Brulijam opened this issue Jul 12, 2024 · 5 comments
Open

Import existing volume #295

Brulijam opened this issue Jul 12, 2024 · 5 comments

Comments

@Brulijam
Copy link

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

@hardcore-sushi
Copy link
Owner

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

@Brulijam
Copy link
Author

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.

@hardcore-sushi
Copy link
Owner

hardcore-sushi commented Jul 13, 2024

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?

@Brulijam
Copy link
Author

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.

@hardcore-sushi
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants