Repository navigation
feat!: keep a writable HOME of non-root users - #8445
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
9f3fb85 to
c5c1f67
Compare
PR Summary by QodoPreserve writable HOME for non-root users
AI Description
Merge Risk
|
Code Review by QodoResolved findings 1.
|
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
c5c1f67 to
40fd890
Compare
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
40fd890 to
27c1365
Compare
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
27c1365 to
179a3c6
Compare
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
179a3c6 to
c8e9e07
Compare
Changes
/usr/local/etc/env, loaded by every shim and wrapper throughBASH_ENV) keeps theHOMEof a non-root user when it's non-empty, not/and writable./, missing or non-writableHOMEis still replaced by the containerbase user's home (eg. OpenShift's random user ids).HOMEis always exported, also when the caller's env had none.HOME=/x <tool>was ignored./, a non-writable and a read-onlyHOME.Context
Please select one of the following:
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.
Code and tests written by Claude Opus 5.5 (Claude Code), reviewed with Claude Fable 5.2.
Use of AI in replying to PR comments
Who answers review comments:
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
🤖 Generated with Claude Code