So if I’m reading this correctly the following will make any files to my media share (I was already in /mnt2 when I did this) automatically be owned by the user emby and rwx for that user?
setfacl -Rm g:emby:rwX,d:g:emby:rwX Media
setfacl -Rm u:emby:rwX,d:u:emby:rwX Media
getfacl Media/
# file: Media/
#owner: emby
#group: emby
user::rwx
user:emby:rwx
group::rwx
group:emby:rwx
mask::rwx
other::r-x
default:user::rwx
default:user:emby:rwx
default:group::rwx
default:group:emby:rwx
default:mask::rwx
Edit: Hmm doesn’t appear to work
Edit2:
chmod g+s -R Media
This works for Group inheritance but I still get the problem that if another user wrote to the share then it’s owned by them and for some reason I cannot write to that directory as the user emby.