Skip to content

feat: graceful fallback for unsupported ACL/xattr capabilities - #2584

Merged
oferchen merged 2 commits into
masterfrom
feature/acl-xattr-fallback
Mar 9, 2026
Merged

oferchen merged 2 commits into
masterfrom
feature/acl-xattr-fallback

Conversation

@oferchen

@oferchen oferchen commented Mar 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add clear_unsupported_features() to ParsedServerFlags
  • Disables ACL/xattr flags when compiled without corresponding features
  • Returns cleared feature names for warning emission
  • Graceful degradation instead of upstream's hard error

Test plan

  • CI passes
  • Build without acl/xattr features still succeeds

@github-actions github-actions Bot added the enhancement New feature or request label Mar 9, 2026
@oferchen
oferchen force-pushed the feature/acl-xattr-fallback branch from 032edf5 to 5cb5b5b Compare March 9, 2026 06:32
oferchen added 2 commits March 9, 2026 08:41
Add clear_unsupported_features() to ParsedServerFlags that disables ACL
and xattr flags when compiled without the corresponding features. Returns
cleared feature names for warning emission. Mirrors upstream guards in
options.c but prefers graceful degradation.
@oferchen
oferchen force-pushed the feature/acl-xattr-fallback branch from 5cb5b5b to 821c471 Compare March 9, 2026 07:52
@oferchen
oferchen merged commit a9c0cc6 into master Mar 9, 2026
31 checks passed
@oferchen
oferchen deleted the feature/acl-xattr-fallback branch March 9, 2026 08:14
oferchen added a commit that referenced this pull request May 1, 2026
* feat: graceful fallback for unsupported ACL/xattr capabilities

Add clear_unsupported_features() to ParsedServerFlags that disables ACL
and xattr flags when compiled without the corresponding features. Returns
cleared feature names for warning emission. Mirrors upstream guards in
options.c but prefers graceful degradation.

* style: fix unused_mut warning for cfg-gated mutations
oferchen added a commit that referenced this pull request May 5, 2026
* feat: graceful fallback for unsupported ACL/xattr capabilities

Add clear_unsupported_features() to ParsedServerFlags that disables ACL
and xattr flags when compiled without the corresponding features. Returns
cleared feature names for warning emission. Mirrors upstream guards in
options.c but prefers graceful degradation.

* style: fix unused_mut warning for cfg-gated mutations
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