Project

General

Profile

Actions

Feature #12445

open

improved path enforcement for hard links

Added by Sage Weil almost 9 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Security Model
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, Common/Protocol, MDS
Labels (FS):
Pull request ID:

Description

The initial path restriction will not work properly for remote links inside the security domain that link to a primary outside the restricted path.

We could improve this by inferring from the client which path was used to lookup the file. This could be done by associating the CDentry* with the Capability* for files. (For directories, the path is unambiguous.)

Actions

Also available in: Atom PDF