Project

General

Profile

Actions

Bug #17594

open

cephfs: permission checking not working (MDS should enforce POSIX permissions)

Added by Jeff Layton over 7 years ago. Updated almost 2 years ago.

Status:
In Progress
Priority:
High
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
Client, MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Frank Filz noticed that cephfs doesn't seem to be enforcing permissions properly, particularly on mkdir.

This test program (written vs. the new cephfs API) runs to completion, but the second ceph_ll_mkdir call ought to fail.


Files

ceph_mkdir_test.c (1.43 KB) ceph_mkdir_test.c Jeff Layton, 10/17/2016 09:02 PM
ceph_mkdir_test.c (1.15 KB) ceph_mkdir_test.c "backported" reproducer Jeff Layton, 10/18/2016 03:23 PM

Related issues 1 (1 open0 closed)

Related to CephFS - Tasks #39998: client: audit ACLNew

Actions
Actions

Also available in: Atom PDF