DVR umask

PMS running on OpenMediaVault, i.e. debian, Linux 6.1.0-0.deb11.6-amd64

When ‘recording’ from a tuner, PMS is creating files and folders without write permissions for group. However I need group write permissions for another actual user in the same group to be able to sometimes manipulate the files that PMS has created. I don’t really want to change the default umask for all users, so…

How can I set the plex user’s umask to 002 instead of 022?

So far I just chmod what PMS has created to add group write permissions, but I don’t want to have to keep doing this. I want to configure PMS to do what is required in the first place.

Thanks @ChuckPa, however those instructions indicate 4 possible settings:-

UMask=002
Umask=002
UMask=0002
Umask=0002

With a warning that it’s important to get it right (I’m guessing otherwise it simply won’t work), but no indication of which is correct, nor how to find out.

I suspect this should work:-

UMask=0002

Can you confirm that for a debian based system?

Ignore that question.

systemctl show plexmediaserver’ includes UMask=0022, so that will be the correct format.

All sorted. Thanks again.

@UKenGB

Those instructions support all variants of Linux Plex supports; inclusive of the NAS Linux systems.

That’s why the warning exists :slight_smile:

The installer does a lot for users but there are some things it can’t possibly know nor safely assume. Sometimes RTFM is your friend :slight_smile:

( This is Linux, not Windows :rofl: )

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.