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
Differential Revision
D36309: Allow to specify umask(1) for a service started with rc(8)
Parents
rG5886089ecfc3: rb_tree: fine-tune RB_REMOVE
Branches
Unknown
Tags
Unknown