HomeFreeBSD

rc.conf(5): add <service>_umask to run the service using this value

Description

rc.conf(5): add <service>_umask to run the service using this value

None of tools working with login classes change umask(1)
and we had no ways to specify non-default umask for a service
not touching its startup script. This change makes in possible.

Some file-sharing services that create new files may benefit from it.

Differential: https://reviews.freebsd.org/D36309
MFC-after: 3 days

Details

Provenance
eugen_grosbein.netAuthored on Aug 28 2022, 5:45 AM
Parents
rG5886089ecfc3: rb_tree: fine-tune RB_REMOVE
Branches
Unknown
Tags
Unknown