Comments (11)
From [email protected] on June 12, 2012 01:15:34
Should have also said - this is the stock ICS ROM from Samsung.
from cryptonite.
From [email protected] on June 12, 2012 06:08:27
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?
from cryptonite.
From [email protected] on June 12, 2012 07:35:39
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.
Status: Accepted
Cc: [email protected]
from cryptonite.
From [email protected] on June 25, 2012 01:18:26
The location that flashes up when I select 'Use external storage' is:
/mnt/sdcard/Android/data/csh.cryptonite/cache
from cryptonite.
From [email protected] on June 25, 2012 01:53:34
Thanks for reporting, the "cache" subdirectory might explain the bug. Will try to fix this in the near future.
Owner: [email protected]
Cc: [email protected]
from cryptonite.
From [email protected] on August 31, 2012 12:55:51
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
from cryptonite.
From [email protected] on August 31, 2012 13:00:51
@sanete: do you mean that it happens when you use the Linux version of truecrypt?
from cryptonite.
From [email protected] on September 01, 2012 23:26:52
Yes, but other computers I have with the same operating system work ok.
Surely it is some misconfiguration.
from cryptonite.
From [email protected] on September 02, 2012 00:28:02
After rebooting, it works now!
from cryptonite.
From [email protected] on March 19, 2013 23:42:08
So how can i change default path to your truecrypt TMPDIR to use it on internal sdcard? thanks!
from cryptonite.
From [email protected] on December 12, 2013 13:39:47
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-variable-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 ;) )
from cryptonite.
Related Issues (20)
- It doesn't work on Android 6, isn't it? HOT 1
- truecrypt PIE HOT 3
- android 6 mounting visibility issue HOT 6
- Not compatible with Windows EncFS apps HOT 2
- Mounting fails without error message HOT 1
- Contribute cryptonite to f-droid HOT 5
- OSX fuse usage HOT 5
- Mount dropsynch - synched folder as volume?
- New instructions HOT 3
- Binaries for Intel x86/x64
- How do I mount TrueCrypt'd Flashdrive? HOT 1
- Truecrypt - Error: Cannot convert from the charset 'encoding - 1' HOT 4
- Getting error when attempting to open files
- Create volume on external storage? HOT 2
- New Maintainer(s) Needed?
- Error in building encfs on Ubuntu 16.04 HOT 2
- Dropbox API v1 shutdown, sync not work HOT 1
- Mount failed on a Lenovo rooted device running with lollipop 5.1.
- Lineage Oreo 8.1: Mounts ok, but the mounted folder is empty
- Is cryptonite still active? HOT 5
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 cryptonite.