Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.29 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.29 KB

Problem with the binary

For the moment it doesn't work without tinkering on nix because the binary tresorit is trying to write in its current directory (and nix store is RO not RW !). Currently, there are no options to change this:

strace tresorit :

stat("/nix/store/z0z06wrd0wsymlngd2jslzgs0n62yv8h-tresorit-3.5.1006.2650/bin/Logs/", 0x7ffea6f0e5b0) = -1 ENOENT (No such file or directory)
mkdir("/nix/store/z0z06wrd0wsymlngd2jslzgs0n62yv8h-tresorit-3.5.1006.2650/bin/Logs/", 0777) = -1 EROFS (Read-only file system)
stat("/nix/store/z0z06wrd0wsymlngd2jslzgs0n62yv8h-tresorit-3.5.1006.2650/bin/Logs/", 0x7ffea6f0e5b0) = -1 ENOENT (No such file or directory)
mkdir("/nix/store/z0z06wrd0wsymlngd2jslzgs0n62yv8h-tresorit-3.5.1006.2650/bin/Logs/", 0777) = -1 EROFS (Read-only file system)

or

openat(AT_FDCWD, "/nix/store/0qrdl9f7qpk4vfk3j854vri941jccw1z-tresorit-3.5.698.875/bin/running.pid", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = -1 EROFS (Read-only file system)

Bypass with "impure" method

nix run -f release.nix -c install-tresorit-impure

This install tresorit in your $HOME/.local/tresorit (as does the tresorit installation script)

or

nix-env -if release.nix -A impure

and you can use

tresorit-impure
# or
tresorit-cli-impure