I have a media server running Ubuntu 24.04.1 that provides an NFS share.
I access this from a macOS desktop machine on the same LAN, to move media files there.
I’ve been having issues with permissions, and discovered that the files I copy to the NFS share are being created with -rw-r--r--
permissions.
I need these files to be created with g+rw
permissions, but I can’t figure out how to make this happen.
My /etc/exports
file contains this share:
/media/me *(anonuid=1000,crossmnt,anongid=1000,async,insecure,no_subtree_check,all_squash,rw)
How can I fix this issue?
Thanks !
EDIT: A friend pointed out that the permissions of the file on my client machine are just being copied along with the file itself, so it’s inheriting g+r
. So, it seems I need a way to somehow cause g+rw
permissions to happen on the NFS server filesystem, but that’s where I’m stuck.