Giter Club home page Giter Club logo

Comments (4)

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024 2

DroidFS use the original gocryptfs code to manage volumes. This code make syscalls to the underlying file system. Therefore, the gocryptfs volume must be on a real or virtual file system (like ext4, f2fs, fuse, etc). All of the app you see in the android file explorer side panel provide access to their content using a file provider: all file interactions pass through this app (using file URIs and Android APIs) before reaching the actual file (if it exists). Gocryptfs can't work like that: it only works with file paths.
If you want to use DroidFS on a volume synchronized in the cloud, you first need to download the volume, open it with its real path on the sdcard (not with android explorer side panel), and if you make modifications, upload changes with your cloud app. I tested this with Nextcloud and it works fine.
Another solution would be to modify the gocryptfs code to work with file descriptors from file provider URIs but it's a lot of work and will reduce performance because it would require much more interaction between native code and JVM. (I'm waiting for your pull requests ;D)

However, you discovered a bug: the selected path should be written in the "Volume Path" field. I will fix it in the next commits.

from droidfs.

misterhsp avatar misterhsp commented on June 15, 2024

Yes, the missing rights to write to the external sdcard is a real problem. Something like this should not be.

...

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024

1.2.0 released: you should now be able to open volume located on SD cards with read-only access.

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024

Issue documented in README (5da1c05), closing this one.

from droidfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.