Skip to content

Conversation

@dynamic-entropy
Copy link
Collaborator

Fixes #2611

Extend AOP_Mkdir to also imply permission for parent path creation.

In addition, fix the logic to restrict paths that pass a simple substring match but are not subdirectories.
For example, do not allow /data/sub for a token path of /data/subdir/myfile and only allow /data/subdir.

Copy link
Member

@amadio amadio left a comment

Choose a reason for hiding this comment

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

LGTM now! Thanks!

@amadio amadio added this to the 5.9.1 milestone Nov 11, 2025
@amadio amadio changed the title [XrdMacaroons] Ensure that subdirectory creation permission is implied [XrdMacaroons] Ensure that parent directory creation permission is implied Nov 11, 2025
@amadio amadio merged commit e85ac2f into xrootd:master Nov 11, 2025
12 checks passed
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.

Scitokens v Macaroons: latter too strict on Mkdir operations on parent directories?

2 participants