LPGhatguy / aftman

Aftman, the prodigal sequel to Foreman
MIT License
162 stars 18 forks source link

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

Open Joshument opened 2 years ago

Joshument commented 2 years 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 8 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)
Geeboi-exe commented 1 month ago

I run Pop!_Os 22.04 and i have been getting the exact same issue. My /home directory is mounted on a seperate filesystem as my /root directory, but both use ext4.

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

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

I still get the exact same error after 2 years