NFS permissions for clients and jellyfin

jojen_green

Cadet
Joined
Jun 30, 2023
Messages
1
Hey all,

I have a permissions issue and I don't know the best way to go for a solution.

I have a dataset (Using NFSV4 ACL) with an NFS share called "media". The Owner of this dataset is called "jeff" the Group of this dataset is "apps"

On my Ubuntu client there is also a user called "jeff" with the same UID as in Truenas. This is to make sure the user can Read/Write/Execute the mount and it's contents.

The Jellyfin container is running as the "apps" user/group, in read-only mode. The "media" NFS mount is mounted inside of the container as per the docs HERE.

Everything works and I'm very happy with the setup. However, the problem I have is when my Ubuntu client (As the user 'jeff') adds a new file to the NFS share, the default owner/group on that file is:
Code:
jeff:jeff

Which means Jellyfin can't see the media because it's running as the "apps" user. Now the easy solution to this is to simply chown the newly created files/directories, but that is obviously not ideal.

So how do I make this process better? I feel like I'm missing something obvious.

Any help is appreciated, and thanks for taking the time to read my question.
 
Top