Project

General

Profile

Actions

Bug #45320

open

client: Other UID don't write permission when the file is marked with SUID or SGID

Added by huanwen ren about 4 years ago. Updated over 3 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
huanwen ren
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
pacific,octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, ceph-fuse
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The problem appears in the ceph-fuse mount,there is no problem with the kernel mount

Example:

[root@cephfs102 sky]# chmod 04777 star.txt
[root@cephfs102 sky]# ls -lh
total 512
-rwsrwxrwx 1 root root 4 Apr 29 17:51 star.txt
[root@cephfs102 sky]# su sky
[sky@cephfs102 sky]$ ls
star.txt
[sky@cephfs102 sky]$ echo "aaa">star.txt
bash: echo: write error: Operation not permitted

"04777" similar setuid

Actions

Also available in: Atom PDF