Comments (4)
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.
Yes, the missing rights to write to the external sdcard is a real problem. Something like this should not be.
...
from droidfs.
1.2.0 released: you should now be able to open volume located on SD cards with read-only access.
from droidfs.
Issue documented in README (5da1c05), closing this one.
from droidfs.
Related Issues (20)
- [Feature Request] Language Selection Menu HOT 2
- Crash on "Copy to shared storage" HOT 4
- Unsafe Features Documentation Webpage Down HOT 1
- [Bug] the app allows creating a container without a password HOT 2
- [Feature Request] Folding support in built-in text viewer/editor HOT 1
- Embedded ExoPlayer can't successfully play videos with AV1 codec HOT 5
- Feature Request: Integrate with default File explorer HOT 1
- Fix Compatability with Graphene OS HOT 1
- Use image/video metadata date when viewing/sorting media HOT 4
- Rotating image causes metadata to be cleared HOT 10
- Keep Thumbnail Cache HOT 27
- GIF HOT 2
- Set limit enter password times ( for hackers) HOT 3
- File is too large to load in memory HOT 1
- issue with finding the created volume HOT 1
- Add support for Rclone HOT 1
- [Feature Request] Text viewer support for ANSI / Win 1252 encoding HOT 1
- Audio/Video player behavior enhancement HOT 9
- How to retrieve files stored in encrypted volumes HOT 2
- Suggestion: Ask for storage permission after updating HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from droidfs.