aboutsummaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2022-08-28 05:45:23 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2022-08-28 05:48:58 +0000
commit160a2f2cdda806e104c0d3194bfb84b208ad1ae8 (patch)
treee78de5303d4e79f17c2cd6d43f14a3e78864ddb1 /share/man
parent5886089ecfc3a7c77bbdf9e95cbf14112f592c50 (diff)
downloadsrc-160a2f2cdda806e104c0d3194bfb84b208ad1ae8.tar.gz
src-160a2f2cdda806e104c0d3194bfb84b208ad1ae8.zip
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
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/rc.conf.58
1 files changed, 7 insertions, 1 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index d86af5a0f224..8592739ccb49 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 7, 2022
+.Dd August 28, 2022
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -239,6 +239,11 @@ such as PostgreSQL will not inherit the OOM killer protection.
.Pp
This variable has no effect on services running within a
.Xr jail 8 .
+.It Ao Ar name Ac Ns Va _umask
+.Pq Vt int
+Run the service using this
+.Xr umask 1
+value.
.It Ao Ar name Ac Ns Va _user
.Pq Vt str
Run the service under this user account.
@@ -4691,6 +4696,7 @@ The default is 10.
.Xr limits 1 ,
.Xr protect 1 ,
.Xr sh 1 ,
+.Xr umask 1 ,
.Xr vi 1 ,
.Xr vidcontrol 1 ,
.Xr bridge 4 ,