Project

General

Profile

Actions

Bug #22353

closed

kclient: ceph_getattr() return zero st_dev for normal inode

Added by Robert Sander over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Running Ceph 12.2.2

Create Filesystem fresh on this version.

FUSE-mounted filesystem with client_acl_type=posix_acl and fuse_default_permissions=0.

ACLs can be set by root with setfacl and queried with getfacl.
  1. file: test2
  2. owner: root
  3. group: root
    user::rw-
    group::---
    group:sysadmin:rwx
    mask::rwx
    other::---
  1. touch test2
  2. chmod 0600 test2
  3. setfacl -m g:sysadmin:rwx test2
  4. getfacl test2
A member of the group sysadmin should have access to a file or directory but access is denied.
  1. file: test2
  2. owner: root
  3. group: root
    user::rw-
    group::---
    group:sysadmin:rwx
    mask::rwx
    other::---
    $ cat test2
    cat: test2: Permission denied
$ ls la test2
ls: test2: Permission denied
-rw-rwx--
1 root root 6 Dez 8 17:33 test2*
$ getfacl test2
Actions

Also available in: Atom PDF