Bug 2233749 - [CephFS-NFS] - File permission with 777 when copied to other location is not retaining the same permissions
Summary: [CephFS-NFS] - File permission with 777 when copied to other location is not ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: NFS-Ganesha
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 7.0
Assignee: Frank Filz
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-23 08:58 UTC by Hemanth Kumar
Modified: 2023-09-15 18:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-15 18:02:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7256 0 None None None 2023-08-23 08:59:56 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.