-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: modify the way the flag on isRestricted works
Motivation: see https://rb.dcache.org/r/14006/ master@9eae61bbac6749664467e92971354b9c7490965f There was a slight misconstrual of the real issue. The patch stopped calling symlink resolution but still did the prefix comparison. This means that, for instance, paths with a symlink in the prefix would not be visible (in some cases effectively returning 0 results). Modification: Change to boolean parameter's meaning to `skipPrefixCheck`, and do not do prefix comparisons in that case. This means that children are in fact only checked for permissions on READ_METADATA. Result: Identical list results returned, e.g., for directories specified with or without a symlink in the prefix. Target: master Request: 9.1 Request: 9.0 Request: 8.2 Patch: https://rb.dcache.org/r/14054/ Requires-notes: yes (alas) Depends-on: #14006 Acked-by: Dmitry
- Loading branch information
Showing
4 changed files
with
46 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters