Skip to content

hooks/010-fixup-permissions.chroot: set correct group and setgid on unix_chkpwd - #481

Merged
Meulengracht merged 2 commits into
mainfrom
bugfix/unix_chkpwd
Oct 21, 2026
Merged

Meulengracht merged 2 commits into
mainfrom
bugfix/unix_chkpwd

Conversation

@Meulengracht

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved issues were identified.

No open issues 🎉

What changed in this PR

Updates unix_chkpwd ownership and permissions to use the shadow group with setgid, with matching verification coverage.

Changes:

  • Sets ownership to root:shadow and mode 2755.
  • Adds permission verification coverage.
File Description
hooks/​010-fixup-permissions.chroot Applies corrected ownership and setgid permissions.
hook-tests/​060-verify-file-permissions.test Verifies the expected file metadata.

Review effort: Lite

@Meulengracht
Meulengracht merged commit c70408d into main Oct 21, 2026
8 of 9 checks passed
@Meulengracht
Meulengracht deleted the bugfix/unix_chkpwd branch October 21, 2026 18:32
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.

3 participants