Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ank-agent does not respect the TMPDIR environment variable #437

Open
christoph-hamm opened this issue Jan 28, 2025 · 0 comments
Open

ank-agent does not respect the TMPDIR environment variable #437

christoph-hamm opened this issue Jan 28, 2025 · 0 comments
Labels
bug Something isn't working. Issue will appear in the change log "Bug Fixes" good first issue Good for newcomers minor Minor bug
Milestone

Comments

@christoph-hamm
Copy link
Contributor

Current Behavior

If no run-folder parameter is provided, the ank-agent creates a folder ankaios in the /tmp directory, even if the environment variable TMPDIR is set to another temporary directory.

Expected Behavior

If not run-folder parameters is provided and the TMPDIR environmental variable is set, ank-server shall create the folder $TMPDIR/ankaios and use it as run-folder.

Steps to Reproduce

  1. Create an alternative tmp folder and set TMPDIR accordingly (e.g., mkdir "$HOME/tmp"; export TMPDIR="$HOME/tmp")
  2. Run ank-agent without the --run-folder parameter

Final result

To be filled by the one closing the issue.

@christoph-hamm christoph-hamm added the bug Something isn't working. Issue will appear in the change log "Bug Fixes" label Jan 28, 2025
@krucod3 krucod3 added minor Minor bug good first issue Good for newcomers labels Feb 4, 2025
@krucod3 krucod3 added this to the backlog milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. Issue will appear in the change log "Bug Fixes" good first issue Good for newcomers minor Minor bug
Projects
None yet
Development

No branches or pull requests

2 participants