Skip to content

Develop#39

Merged
saadqbal merged 3 commits into
mainfrom
develop
Mar 6, 2026
Merged

Develop#39
saadqbal merged 3 commits into
mainfrom
develop

Conversation

@saadqbal
Copy link
Copy Markdown
Contributor

@saadqbal saadqbal commented Mar 6, 2026

Note

Medium Risk
Touches the Linux bootstrap path and changes how privileged installs run (downloaded installer script execution and umask handling), which could break tool installation or permissions across distros.

Overview
The Linux setup script now installs k3d by downloading the upstream installer to a temporary file with retries and running it via sudo, instead of piping curl directly into bash.

It also temporarily relaxes the process umask to 022 while installing kubectl/k3d/helm (restoring it afterward) so binaries placed in /usr/local/bin aren’t left executable only by root under the default hardened umask 077.

Written by Cursor Bugbot for commit 69c6692. This will update automatically on new commits. Configure here.

saadqbal added 3 commits March 6, 2026 23:20
- Changed the installation method for k3d to download the script to a temporary file before executing, enhancing security and reliability.
- Added a check to ensure the k3d binary is executable after installation, improving usability.
- Eliminated the check for setting executable permissions on the k3d binary, as it is no longer necessary with the updated installation method.
- This change streamlines the installation process and reduces potential errors related to file permissions.
- Adjusted umask to 022 temporarily while installing system tools to ensure proper executable permissions for binaries in /usr/local/bin/.
- Restored the original umask after installations to maintain security settings.
@saadqbal saadqbal merged commit 21338a0 into main Mar 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant