[GH-ISSUE #5284] Add support for TMPDIR in install.sh #10911

Open
opened 2026-08-05 01:27:40 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @gene1wood on GitHub (Feb 9, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5284

Is your feature request related to a problem? Please describe.

Currently the install.sh installer hard codes /tmp as the location that the binary packages and MacOS packages are downloaded to. This prevents the user from controlling where these files are downloaded.

Describe the solution you'd like

By using the POSIX standard TMPDIR environment variable, instead of /tmp, the user can control where these files are written.

Originally created by @gene1wood on GitHub (Feb 9, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5284 **Is your feature request related to a problem? Please describe.** Currently the `install.sh` installer hard codes `/tmp` as the location that the binary packages and MacOS packages are downloaded to. This prevents the user from controlling where these files are downloaded. **Describe the solution you'd like** By using the [POSIX standard TMPDIR environment variable](https://pubs.opengroup.org/onlinepubs/9799919799/xrat/V4_xbd_chap01.html#tag_21_10_01), instead of `/tmp`, the user can control where these files are written.
saavagebueno added the feature-request label 2026-08-05 01:27:40 -04:00
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10911