LPGhatguy / aftman

Aftman, the prodigal sequel to Foreman
MIT License
157 stars 16 forks source link

`aftman self-install` fails when /tmp is on a seperate filesystem #35

Open Joshument opened 1 year ago

Joshument commented 1 year ago

When installing aftman on a unix-like operating system, aftman self-install will fail if /tmp is on a seperate filesystem (i.e. tmpfs)

[INFO  aftman::tool_storage] Updating all Aftman binaries...
Aftman error: failed to rename file from /home/josh/.aftman/bin/rojo to /tmp/.tmpaVMK5X/rojo

Caused by:
    Invalid cross-device link (os error 18)
shadownetdev1 commented 1 year ago

I also have this problem

RyanLua commented 6 months ago

I have the same issue on Debian.

@RyanLua ➜ /workspaces/Satchel (codespaces) $ aftman self-install
[INFO  aftman::tool_storage] Updating all Aftman binaries...
Aftman error: failed to rename file from /home/vscode/.aftman/bin/selene to /tmp/.tmp60yylN/selene

Caused by:
    Invalid cross-device link (os error 18)