Share data to android storage

asked 2019-10-31 10:48:07 +0300

DragonLich gravatar image

Hello everyone,

I'm looking for someone who can help me to share a directory between /home/nemo and android storage. It has to be with write privileges for both android and SFOS user. Right now, you can read and write content from the SFOS side to android but android then can only read this content, it does not have writing privileges outside of android_storage folder. That is great in general but sometimes you have a scenario where you want to write content by the android app.

I used to use bindfs feature to get the directory into the android but unfortunately that does not work anymore on 3.2.0 so this update break my hack.

What I'm thinking of now, is to use inotify (or similar tool) to scan files and copy the changed content by some service on the background. However, I'm not in favor of this hacking and it's really not that efficient solution.

Do someone here knows about better solution? I can imagine this even supported by SFOS that you would share the folder to android in settings. That would be great! You can even extend that to make the android visibility just on specific places to block android application from reading your /home/nemo content without your explicit approval.

edit retag flag offensive close delete