Steps performed to verify this bug: 1. Create CephFS PVC 'pvc-cephfs-test' and attach it to an app pod running on node1 2. Copy an executable file to the app pod. Output from app pod: # ls -l hello_world.py -rwsrwsr-x 1 1000 1000 21 May 27 11:14 hello_world.py 3. Create a snapshot of the PVC 'pvc-cephfs-test' 4. Restore the snapshot to create a PVC 'pvc-cephfs-test-snapshot-restore' and attach it to a pod 'pod2' running on node2. Output from pod2: # ls -l hello_world.py -rwsrwsr-x 1 1000 1000 21 May 27 11:14 hello_world.py 5. Clone the PVC 'pvc-cephfs-test' to create PVC 'pvc-cephfs-test-clone'. 6. Attach the cloned PVC 'pvc-cephfs-test-clone' to a pod 'pod3' running on node3. Output from pod3: # ls -l hello_world.py -rwsrwsr-x 1 1000 1000 21 May 27 11:14 hello_world.py 's' bits are retained in restored (step 4) and cloned (step 6) PVC. Verified in version: OCS 4.6.5-411.ci OCP 4.6.0-0.nightly-2021-05-27-000320 14.2.11-147.el8cp (1f54d52f20d93c1b91f1ec6af4c67a4b81402800) nautilus (stable)
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 (Moderate: Red Hat OpenShift Container Storage 4.6.5 security and bug fix 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:2479