Code Monkey home page Code Monkey logo

Comments (11)

neurodroid avatar neurodroid commented on August 15, 2024

From [email protected] on June 12, 2012 01:15:34

Should have also said - this is the stock ICS ROM from Samsung.

from cryptonite.

neurodroid avatar neurodroid commented on August 15, 2024

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.

neurodroid avatar neurodroid commented on August 15, 2024

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.

neurodroid avatar neurodroid commented on August 15, 2024

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.

neurodroid avatar neurodroid commented on August 15, 2024

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.

neurodroid avatar neurodroid commented on August 15, 2024

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.

neurodroid avatar neurodroid commented on August 15, 2024

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.

neurodroid avatar neurodroid commented on August 15, 2024

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.

neurodroid avatar neurodroid commented on August 15, 2024

From [email protected] on September 02, 2012 00:28:02

After rebooting, it works now!

from cryptonite.

neurodroid avatar neurodroid commented on August 15, 2024

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.

neurodroid avatar neurodroid commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.