Bug 1938669

Summary: setuid and setgid file bits are not retained after CephFS snapshot restore
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mudit Agarwal <muagarwa>
Component: CephFSAssignee: Kotresh HR <khiremat>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.2CC: aeyal, amk, anharris, bniver, ceph-eng-bugs, dfuller, ebenahar, hchiramm, hekumar, jespy, jmatthew, khiremat, krodger, madam, muagarwa, ndevos, ocs-bugs, pdonnell, rabhat, rraja, smerrow, srangana, sweil, tserlin, vereddy, vshankar, ygupta, yipng
Target Milestone: ---   
Target Release: 4.2z1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-14.2.11-140.el8cp, ceph-14.2.11-140.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1936545 Environment:
Last Closed: 2021-04-28 20:13:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1936545, 1951600    

Comment 2 Mudit Agarwal 2021-03-15 15:11:35 UTC
Hi Brett, there are a few comments which confirm these:

Comment from Hemant: 
https://bugzilla.redhat.com/show_bug.cgi?id=1936545#c12 given that it is happening only in CephFS and not RBD

Following comment is from CephFS folks:
https://bugzilla.redhat.com/show_bug.cgi?id=1936545#c15

And this is the testing on a standalone Ceph cluster:
https://bugzilla.redhat.com/show_bug.cgi?id=1936545#c16

Comment 3 Mudit Agarwal 2021-03-17 01:49:21 UTC
Patrick, This bug is critical for IBM spectrum protect as well as other backup partners.
Can we please try to fix this in 4.2z1 itself so that it can make into OCS4.7

Comment 15 errata-xmlrpc 2021-04-28 20:13:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage security, bug fix, and enhancement Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1452