doy / rbw

unofficial bitwarden cli
https://git.tozt.net/rbw
Other
649 stars 87 forks source link

$TMPDIR is ignored #37

Closed pschmitt closed 3 years ago

pschmitt commented 3 years ago

On Termux /tmp is not writable - which leads to the following error:

$ rbw login
failed to daemonize: failed to create directory at /tmp/rbw-10147: Read-only file system (os error 30)
rbw login: failed to run rbw-agent: exit code: 1

Instead of assuming that /tmp is accessible it'd make sense to read the value of TMPDIR.

That being said, thanks for creating this!

doy commented 3 years ago

fixed in 0986163, thanks!