Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(cli): log warnings when chmod/chown fails during onboard - #12

Merged
ADD-SP merged 1 commit into
runta-dev:mainfrom
bianbiandashen:fix/log-permission-errors
Feb 14, 2026
Merged

fix(cli): log warnings when chmod/chown fails during onboard#12
ADD-SP merged 1 commit into
runta-dev:mainfrom
bianbiandashen:fix/log-permission-errors

Conversation

@bianbiandashen

Copy link
Copy Markdown
Contributor

Summary

  • Add warning logs when chmod/chown commands fail during onboard
  • Previously these errors were silently ignored with let _ = ...

Why

These permission-setting operations are security-critical. While the onboard process may still succeed, failures should be logged for debugging and auditing purposes.

Changes

  • src/main.rs: Replace silent error ignoring with warn!() logs

Test plan

  • Verified compilation
  • No behavioral change for successful operations

Previously, permission-setting errors during onboard were silently
ignored. These operations are security-critical, so failures should
at least be logged as warnings for debugging purposes.

@ADD-SP ADD-SP left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ADD-SP ADD-SP changed the title fix: log warnings when chmod/chown fails during onboard fix: log warnings when chmod/chown fails during onboard Feb 14, 2026
@ADD-SP
ADD-SP enabled auto-merge February 14, 2026 07:31
@ADD-SP ADD-SP changed the title fix: log warnings when chmod/chown fails during onboard fix(cli): log warnings when chmod/chown fails during onboard Feb 14, 2026
@ADD-SP
ADD-SP disabled auto-merge February 14, 2026 07:32
@ADD-SP
ADD-SP enabled auto-merge February 14, 2026 07:32
@ADD-SP
ADD-SP added this pull request to the merge queue Feb 14, 2026
Merged via the queue into runta-dev:main with commit 11d266f Feb 14, 2026
3 checks 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.

2 participants