Skip to content

feat!: change ownership to linuxbrew user#18

Open
HastD wants to merge 2 commits intosecureblue:mainfrom
HastD:brew-proxy
Open

feat!: change ownership to linuxbrew user#18
HastD wants to merge 2 commits intosecureblue:mainfrom
HastD:brew-proxy

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Apr 23, 2026

Make the Homebrew installation owned by a dedicated linuxbrew user, created by systemd-sysusers. This creates a security boundary between the Homebrew installation and other unprivileged users.

Also inline brew shellenv for bash and fish. This should improve efficiency by reducing unnecessary calls to brew, especially when brew-proxy is in use.

@HastD HastD marked this pull request as ready for review April 23, 2026 19:38
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 23, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@HastD
Copy link
Copy Markdown
Collaborator Author

HastD commented Apr 23, 2026

Note, this shouldn't be merged until the corresponding changes to secureblue at secureblue/secureblue#2169 have also been reviewed and are ready to merge.

HastD added 2 commits April 25, 2026 22:46
Make the Homebrew installation owned by a dedicated `linuxbrew` user,
created by systemd-sysusers. This creates a security boundary between
the Homebrew installation and other unprivileged users.
This should improve efficiency by reducing unnecesary calls to `brew`,
especially when brew-proxy is in use.
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