Change ownership if the parameters specified - #46
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a change to apply ownership overrides to a persistent directory during bootstrap, even if the directory already exists. The review feedback points out two critical issues: first, the script will skip applying ownership if only one of the override variables (user or group) is provided; second, the script could crash if the persistent directory does not exist, as chown is called without checking directory existence. A robust code suggestion is provided to handle partial ownership parameters and verify the directory's existence before running chown.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Signed-off-by: Anton Kremenetsky <anton.kremenetsky@gmail.com>
88986b4 to
9b5f6e9
Compare
No description provided.