Skip to content

feat: parse 'strict modes' directive in rsyncd.conf - #2428

Merged
oferchen merged 1 commit into
masterfrom
feat/strict-modes-directive
Feb 22, 2026
Merged

oferchen merged 1 commit into
masterfrom
feat/strict-modes-directive

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add strict_modes boolean field (default true) to both config parsing systems
  • Parse the strict modes directive as a per-module boolean in rsyncd.conf
  • Upstream: loadparm.c -- controls whether the daemon checks secrets file permissions

Test plan

  • 15 new strict_modes tests pass
  • All 867 daemon crate tests pass
  • cargo fmt clean
  • cargo clippy clean

Add strict_modes boolean field (default true) to both config parsing
systems. Upstream loadparm.c uses this to control whether the daemon
checks secrets file permissions are not world-readable.
@github-actions github-actions Bot added the enhancement New feature or request label Feb 22, 2026
@oferchen
oferchen merged commit ed10df3 into master Feb 22, 2026
9 checks passed
@oferchen
oferchen deleted the feat/strict-modes-directive branch February 22, 2026 12:33
oferchen added a commit that referenced this pull request May 1, 2026
Add strict_modes boolean field (default true) to both config parsing
systems. Upstream loadparm.c uses this to control whether the daemon
checks secrets file permissions are not world-readable.
oferchen added a commit that referenced this pull request May 5, 2026
Add strict_modes boolean field (default true) to both config parsing
systems. Upstream loadparm.c uses this to control whether the daemon
checks secrets file permissions are not world-readable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant