Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2233749

Summary: [CephFS-NFS] - File permission with 777 when copied to other location is not retaining the same permissions
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Hemanth Kumar <hyelloji>
Component: NFS-GaneshaAssignee: Frank Filz <ffilz>
Status: CLOSED NOTABUG QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: ceph-eng-bugs, cephqe-warriors, gmeno
Target Milestone: ---   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-15 18:02:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Frank Filz 2023-08-30 17:40:55 UTC
Do you use cp -p? It's not unexpected for write permission to be dropped on non-owner otherwise. Check umask on your client. For example, mine is 022 which would cause 777 to become 755 on copy. Some clients may also be more aggressive at dropping mode bits on a remote copy.

Comment 3 Frank Filz 2023-09-05 15:57:20 UTC
OK, can we close this as working as designed?

Comment 5 Frank Filz 2023-09-05 17:01:59 UTC
I don't think we need to do anything special. This is the Linux command working as expected. It isn't NFS speciic.