Closed GoogleCodeExporter closed 8 years ago
Should have also said - this is the stock ICS ROM from Samsung.
Original comment by jfre...@googlemail.com
on 12 Jun 2012 at 8:15
If I create the missing directory - the truecrypt command completes sucessfully
- and I can mount the container:
"
df | grep /sdcard/mnt
/mnt/sdcard/mnt 31M 75K 31M 1024
"
I don't know if I did or didn't do something to cause that directory to get
created - or whether it's in a different place because of the full disk
encryption?
Original comment by jfre...@googlemail.com
on 12 Jun 2012 at 1:08
That's a bug in l.54 of
https://code.google.com/p/cryptonite/source/browse/tc/tc-android.patch: The
application directory is hardcoded to /sdcard/Android/data/csh.cryptonite,
which doesn't seem to be the right place on your phone. Possible fixes:
* Find out what the correct location on your phone is, and use that in case /sdcard/Android/data/csh.cryptonite fails. What's the location that's flashing up when you select "Use external storage" in the Cryptonite preferences menu?
* Get the correct external application directory from C. No idea how to do that (see https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String) for the Java version).
* Find out what the correct location on your phone is, and use that in case /sdcard/Android/data/csh.cryptonite fails. What's the location that's flashing up when you select "Use external storage" in the Cryptonite preferences menu?
* Use the TMPDIR environment variable, as does the original truecrypt code. Supposedly there must have been some problem when I first tested it, otherwise I wouldn't have edited the original truecrypt code. Maybe it was a permissions problem.
* Write the external application directory to some string with the Cryptonite
app and read this string from the truecrypt C code.
Original comment by christoph.schmidthieber@gmail.com
on 12 Jun 2012 at 2:35
The location that flashes up when I select 'Use external storage' is:
/mnt/sdcard/Android/data/csh.cryptonite/cache
Original comment by jfre...@googlemail.com
on 25 Jun 2012 at 8:18
Thanks for reporting, the "cache" subdirectory might explain the bug. Will try
to fix this in the near future.
Original comment by christoph.schmidthieber@gmail.com
on 25 Jun 2012 at 8:53
It happens me too with KUbuntu 12.04 in a regular PC.
This is the exact error message:
Failed to create a file or directory in a temporary directory.
Please make sure that the temporary directory exists, its security permissions
allow you to access it, and there is sufficient disk space:
/tmp/.truecrypt_aux_mnt256
Original comment by san...@gmail.com
on 31 Aug 2012 at 7:55
@sanete: do you mean that it happens when you use the Linux version of
truecrypt?
Original comment by christoph.schmidthieber@gmail.com
on 31 Aug 2012 at 8:00
Yes, but other computers I have with the same operating system work ok.
Surely it is some misconfiguration.
Original comment by san...@gmail.com
on 2 Sep 2012 at 6:26
After rebooting, it works now!
Original comment by san...@gmail.com
on 2 Sep 2012 at 7:28
So how can i change default path to your truecrypt TMPDIR to use it on internal
sdcard? thanks!
Original comment by emlen...@gmail.com
on 20 Mar 2013 at 6:42
[deleted comment]
do I understand correctly that, if the TMPDIR variable is set, it should use
that instead of flash card ?
if so, it's just a matter of figuring one's way around the pains of setting
variables (
http://stackoverflow.com/questions/3736062/how-to-set-and-use-an-environment-var
iable-in-android-test )
question to Christoph:
why not use /cache as the resting place for TC's temp files?
ps
sorry for doublepost.
emails being public is not very comfy (Ukraine issues, I have them ;) )
Original comment by burnacc0...@gmail.com
on 12 Dec 2013 at 9:39
This issue has moved to https://github.com/neurodroid/cryptonite/issues/31
Original comment by christoph.schmidthieber@gmail.com
on 28 Aug 2014 at 3:54
Original issue reported on code.google.com by
jfre...@googlemail.com
on 12 Jun 2012 at 8:14