daytona
daytona copied to clipboard
Daytona executable binary being removed after use
Describe the bug Was trying to play with this on my M2 and got this weird behavior:
- curl https://download.daytona.io/daytona/get-server.sh | bash
Results: daytona executable in my $HOME/bin directory.
-
run in a console "daytona server" and it starts fine, but the executable is now gone.
-
download a new one and if the server is running it's removed right away.
-
If I stop the server, run the get-server.sh and install a new executable in the $HOME/bin and run a "./daytona help" it displays the help command and removes the executable... weird right???
Looks like running the executable results in removal of that file.
To Reproduce See above.
Expected behavior Would not expect the installed binary to be deleted every time trying to use it?
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Macbook M2
- Browser: N/A
- Daytona Version: current
Additional context Add any other context about the problem here.
Hi @eschabell! Thanks for trying it out 😄
Also I couldn't reproduce this. The only way binary would be removed, actually not removed but overwritten is if you run the script again and it installs the binary on the same path.
Just to check could you try manually:
curl -sf -L https://download.daytona.io/daytona/latest/daytona-darwin-arm64 -o $HOME/bin/daytona
chmod +x $HOME/bin/daytona
Also you can open Finder on that path and monitor when and if daytona
file would be removed. Maybe some security setting?
This Issue has been automatically marked as "stale" because it has not had recent activity (for 14 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 7 days since it was marked as "stale", we are closing this Issue. Do not hesitate to reopen it later if necessary.