Skip to content

NAS-141323 / 27.0.0-BETA.1 / Prevent truesearch dataset recursion when tiered#19096

Open
anodos325 wants to merge 1 commit into
masterfrom
fix-truesearch-tiering
Open

NAS-141323 / 27.0.0-BETA.1 / Prevent truesearch dataset recursion when tiered#19096
anodos325 wants to merge 1 commit into
masterfrom
fix-truesearch-tiering

Conversation

@anodos325

Copy link
Copy Markdown
Contributor

This commit disables truesearch dataset recursion when tiering globally enabled. This prevents unintended information disclosure for paths outside of SMB share roots.

This commit disables truesearch dataset recursion when tiering
globally enabled. This prevents unintended information disclosure
for paths outside of SMB share roots.
@bugclerk bugclerk changed the title Prevent truesearch dataset recursion when tiered NAS-141323 / 27.0.0-BETA.1 / Prevent truesearch dataset recursion when tiered Jun 9, 2026
@bugclerk

bugclerk commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@anodos325 anodos325 requested a review from a team June 9, 2026 15:14
What directories will it index.
"""
return await self.process_directories(await self.raw_directories())
# When ZFS tiering is enabled the SMB server no longer traverses into nested dataset

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just SMB or Webshare too?

@themylogin themylogin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is having a default value for traverse dangerous? Some caller might forget to specify it and expose directories that should not be exposed…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants