cryptonite icon indicating copy to clipboard operation
cryptonite copied to clipboard

Very weird that non root apps' accessibily to mounted data is very random

Open neurodroid opened this issue 11 years ago • 4 comments

From [email protected] on October 09, 2013 06:08:46

Some apps can access the mounted data, while some can't Sometimes some apps can, but after a while, they can't

All I tested are non root apps

Why this weird result?

Why some apps can, while others can't?

Why sometimes can, while sometimes can't?

Original issue: http://code.google.com/p/cryptonite/issues/detail?id=64

neurodroid avatar Aug 28 '14 15:08 neurodroid

From [email protected] on December 04, 2013 01:49:33

What I said in issue 47 may help:

On my Galaxy S4 (stock ROM I9505XXUBMGA, Android 2.2), I've noticed that only apps that are loaded in memory before the mount could see the content of the crypted volume. So I start all apps that I would use (Text Editor, File Browser, etc.) and press the Home button to put apps in background without exiting them. Then I mount my crypted volume, and I could use file on the crypted volume in any apps I previously launch.

I'm using cyrptonit 0.7.9 (alpha) as I discovered this behavior after uninstalling the stable release on the Play Store, thinking that the stable version don't work. Later trying the alpha release, I found this workaround, but it probably works on any cryptonite version.

neurodroid avatar Aug 28 '14 15:08 neurodroid

From djnutz on February 22, 2014 14:22:17

Same issue.

neurodroid avatar Aug 28 '14 15:08 neurodroid

Same issue. Im running the encfs binary from adb shell and some apps see it some dont. My goal is to always run encfs on startup (probably via SManager) with --reverse option and sync the encrypted files to cloud (not dropbox, some other less popular app). Also the @neurodroid remark is correct. I had Total commander running before I mounted the dir and it saw the files, also the updates. After killing it and restarting - no more files. What would be the correct way to solve this?

dimovnike avatar Mar 17 '15 01:03 dimovnike

from what i understand this happens because of the new multi-user Android feature. They use different mount namespaces, but how the command setns doens't work on this kernel...

dimovnike avatar Mar 17 '15 01:03 dimovnike