Elena22 / cryptonite

Automatically exported from code.google.com/p/cryptonite
0 stars 0 forks source link

Choose arbitrary mount point #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Choose a location where to mount an EncFS volume

Original issue reported on code.google.com by christoph.schmidthieber@gmail.com on 15 Mar 2012 at 8:28

GoogleCodeExporter commented 8 years ago

Original comment by christoph.schmidthieber@gmail.com on 16 Mar 2012 at 1:47

GoogleCodeExporter commented 8 years ago
Added in 0.2.13 
(https://code.google.com/p/cryptonite/source/detail?r=e1cf5993b66c)

Original comment by christoph.schmidthieber@gmail.com on 16 Mar 2012 at 11:32

GoogleCodeExporter commented 8 years ago
Seeing as the app already asks for root permissions, maybe it would be nice to 
mounmt thecvolume on the data partition. I use Cryptonite for text notes and I 
can easily edit them there. For multimedia it might be necessary to build a new 
app. As it stands most apps have access to the /sdcard that I have less 
confidence.

Original comment by david8bl...@gmail.com on 25 Apr 2012 at 7:57

GoogleCodeExporter commented 8 years ago
You can select an arbitrary mount point in the preferences menu.

Original comment by christoph.schmidthieber@gmail.com on 26 Apr 2012 at 9:04

GoogleCodeExporter commented 8 years ago
I see, you can't actually select something under data because the file browser 
doesn't have root permissions. Here are two temporary workarounds:
Workaround 1
1. In the preferences menu, change the mount point to a new "dummy" location 
somewhere under /sdcard
2. Return to the main program
3. Edit the file 
/data/data/csh.cryptonite/shared_prefs/csh.cryptonite_preferences.xml
4. Find this entry:
<string name="txt_mntpoint">/mnt/sdcard/csh.cryptonite/mnt2</string>
5. Replace the mount point:
<string name="txt_mntpoint">/data/where/you/want/to/mount/it</string>
6. Restart the app

Workaround 2:
1. Select the "Expert" tab
1. Start a root terminal
2. Mount your EncFS volume directly on /data/xyz
encfs /sdcard/EncFSSource /data/where/you/want/to/mount/it

I'm not sure whether the file browser that is used to select a mount point 
should have root permissions. Do you think that this is something a lot of 
people will use? The security benefit of hiding the mount point is somewhat 
mitigated by the fact that you will need root permissions to access any file on 
the mounted volume.

Original comment by christoph.schmidthieber@gmail.com on 26 Apr 2012 at 10:21